umount.2: glibc only exposes MNT_DETACH and MNT_EXPIRE since version 2.11

See http://sourceware.org/bugzilla/show_bug.cgi?id=10092

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
Michael Kerrisk 2009-09-03 06:06:54 +02:00
parent a385e7d797
commit 835c57e9cc
1 changed files with 7 additions and 1 deletions

View File

@ -27,7 +27,7 @@
.\" 2008-10-06, mtk: Created this as a new page by splitting
.\" umount/umount2 material out of mount.2
.\"
.TH UMOUNT 2 2008-10-06 "Linux" "Linux Programmer's Manual"
.TH UMOUNT 2 2009-09-03 "Linux" "Linux Programmer's Manual"
.SH NAME
umount, umount2 \- unmount file system
.SH SYNOPSIS
@ -139,6 +139,12 @@ The kernel could not allocate a free page to copy filenames or data into.
.TP
.B EPERM
The caller does not have the required privileges.
.SH VERSIONS
.BR MNT_DETACH
and
.BR MNT_EXPIRE
.\" http://sourceware.org/bugzilla/show_bug.cgi?id-10092
are only available in glibc since version 2.11.
.SH "CONFORMING TO"
These functions are Linux-specific and should not be used in
programs intended to be portable.