cleanup src/linux and src/misc trees, etc.

previously, it was pretty much random which one of these trees a given
function appeared in. they have now been organized into:

src/linux: non-POSIX linux syscalls (possibly shard with other nixen)
src/legacy: various obsolete/legacy functions, mostly wrappers
src/misc: still mostly uncategorized; some misc POSIX, some nonstd
src/crypt: crypt hash functions

further cleanup will be done later.
This commit is contained in:
Rich Felker 2012-09-07 00:48:25 -04:00
commit b9bb8f67bb
45 changed files with 74 additions and 98 deletions

View file

@ -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);
}