freebsd-dev/lib/libc
Ian Dowse ffe40c80ea In the !MNT_BYFSID case, return EINVAL from unmount(2) when the
specified directory is not found in the mount list. Before the
MNT_BYFSID changes, unmount(2) used to return ENOENT for a nonexistent
path and EINVAL for a non-mountpoint, but we can no longer distinguish
between these cases. Of the two error codes, EINVAL was more likely
to occur in practice, and it was the only one of the two that was
documented.

Update the manual page to match the current behaviour.

Suggested by:	tjr
Reviewed by:	tjr
2003-09-08 16:23:21 +00:00
..
alpha Fix wrong identifier on .end directive. The SYSCALL macro does name 2003-08-16 18:59:08 +00:00
amd64 Sigh. I can't win anything. Use addq rather than addl with %rsp. 2003-09-04 00:31:45 +00:00
compat-43 Explain the relationship to POSIX. 2003-06-20 22:41:00 +00:00
db Fix a sizeof error in __bt_put: when writing they key and data sizes 2003-05-30 11:05:08 +00:00
gdtoa Userland spinlocks bad. Sleep locks good. 2003-06-21 08:20:14 +00:00
gen Update the kern.osreldate documentation to document the present format 2003-09-01 14:26:33 +00:00
gmon Use C99 compatible ASM statements. 2003-06-02 02:32:22 +00:00
i386 Make getcontext(2) work on i386. It needs a small wrapper in libc 2003-09-04 00:20:40 +00:00
ia64 Add the mlockall() and munlockall() system calls. 2003-08-11 07:14:08 +00:00
include Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
locale Remove an unused and incorrect prototype for _none_init(). 2003-09-05 09:01:31 +00:00
net An u_int8_t can never be bigger than 255, so remove a useless check. 2003-07-25 12:23:25 +00:00
nls Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
posix1e Return (-1) not (ENOENT) for mac_prepare_type(), and set errno to 2003-08-30 14:51:01 +00:00
powerpc Add the mlockall() and munlockall() system calls. 2003-08-11 07:14:08 +00:00
quad libc_r wasn't so tied to libc for 22 months. 2002-11-18 09:50:57 +00:00
regex Eliminate 61 warnings emitted at WARNS=2 (leaving 53 to go). 2003-02-16 17:29:11 +00:00
rpc Clarify text 2003-08-26 15:52:47 +00:00
sparc64 Add the mlockall() and munlockall() system calls. 2003-08-11 07:14:08 +00:00
stdio Add more useful cross-references to the SEE ALSO section. 2003-07-05 07:55:34 +00:00
stdlib Replace some syscalls with libc version, this makes abort work better with 2003-08-16 11:43:57 +00:00
stdtime Fixes to locale code to properly use indirect pointers in order to prevent 2003-06-13 00:14:07 +00:00
string Move a sentence about the terminating \0 from the RETURN VALUES section 2003-09-04 20:36:54 +00:00
sys In the !MNT_BYFSID case, return EINVAL from unmount(2) when the 2003-09-08 16:23:21 +00:00
uuid Remove stale DCE 1.1 pointers to the IBM site. The URLs aren't valid 2003-08-08 19:18:43 +00:00
xdr Fix amd(8) clients, if a FreeBSD mountd(8) server is used. 2003-05-28 09:13:09 +00:00
yp Back out the `hiding' of strlcpy and strlcat. Several people 2003-05-01 19:03:14 +00:00
Makefile Add a kluge suggested by Marcel to paper over the difference between 2003-08-19 23:01:46 +00:00