projects
/
oweals
/
musl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
socket.h: add SO_(SND/RCV)BUFFORCE to generic block
[oweals/musl.git]
/
src
/
linux
/
mount.c
diff --git
a/src/linux/mount.c
b/src/linux/mount.c
index 83a8db44168b2ca99ea8d837b2a59e0e08dab7c4..34e11af120353e07961d05bb60f568457ca7c9c6 100644
(file)
--- a/
src/linux/mount.c
+++ b/
src/linux/mount.c
@@
-5,3
+5,13
@@
int mount(const char *special, const char *dir, const char *fstype, unsigned lon
{
return syscall(SYS_mount, special, dir, fstype, flags, data);
}
+
+int umount(const char *special)
+{
+ return syscall(SYS_umount2, special, 0);
+}
+
+int umount2(const char *special, int flags)
+{
+ return syscall(SYS_umount2, special, flags);
+}