* manual/sysinfo.texi: Document that umount2 is not widely available.
This commit is contained in:
Ulrich Drepper 2000-04-18 06:48:18 +00:00
parent 5732c4df91
commit dbacafe52e
4 changed files with 31 additions and 18 deletions

View File

@ -1,5 +1,7 @@
2000-04-17 Ulrich Drepper <drepper@redhat.com>
* manual/sysinfo.texi: Document that umount2 is not widely available.
* sysdeps/generic/hp-timing.h (HP_TIMING_NONAVAIL): Define to
signal timing is not really implemented.

View File

@ -1,3 +1,9 @@
2000-04-17 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/i386/getcpuclockid.c
(pthread_getcpuclockid): Don't compare thread_id with thread_self,
use thread_handle().
2000-04-16 Ulrich Drepper <drepper@redhat.com>
* condvar.c (pthread_cond_timedwait_relative): Don't test for owner

View File

@ -27,7 +27,7 @@ int
pthread_getcpuclockid (pthread_t thread_id, clockid_t *clock_id)
{
/* We don't allow any process ID but our own. */
if (thread_id != thread_self ())
if (thread_handle (thread_id) != thread_self ())
return EPERM;
/* Store the number. */

View File

@ -650,6 +650,7 @@ should maintain and use these separately. @xref{Mount Information}.
The symbols in this section are declared in @file{sys/mount.h}.
@comment sys/mount.h
@comment SVID, BSD
@deftypefun {int} mount (const char *@var{special_file}, const char *@var{dir}, const char *@var{fstype}, unsigned long int @var{options}, const void *@var{data})
@code{mount} mounts or remounts a filesystem. The two operations are
@ -853,6 +854,7 @@ not one that uses a device.
@comment sys/mount.h
@comment GNU
@deftypefun {int} umount2 (const char *@var{file}, int @var{flags})
@code{umount2} unmounts a filesystem.
@ -912,13 +914,16 @@ this failure with the @code{MNT_FORCE} option.
point nor a device special file of a currently mounted filesystem.
@end table
This function is not available on all systems.
@end deftypefun
@comment sys/mount.h
@comment SVID, GNU
@deftypefun {int} umount (const char *@var{file})
@code{umount} does the same thing as @code{umount2} with @var{flags}
set to zeroes. It exists for compatibility.
@code{umount} does the same thing as @code{umount2} with @var{flags} set
to zeroes. It is more widely available than @code{umount2} but since it
lacks the possibility to forcefully unmount a filesystem is deprecated
when @code{umount2} is also available.
@end deftypefun