setmntent() takes a filename, not fp
PATCH 1/1 setmntent() takes a filename, not fp
Signed-off-by Mike Frysinger <[email protected]>
--- man3/getmntent.3 | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
man3/getmntent.3 +1 -1
@@ -68,7 +68,7 @@ These routines are used to access the file system description file The .BR setmntent () function opens the file system description file -\fIfp\fP and returns a file pointer which can be used by +\fIfilename\fP and returns a file pointer which can be used by .BR getmntent (). The argument \fItype\fP is the type of access required and can take the same values as the \fImode\fP argument of
Signature · 6 lines
1.6.4 -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): 1251893007-18490-1-git-send-email-vapier-aBrp7R+bbdUdnm+yROfE0A@public.gmane.org
Hi Mike,
Quoted 12 lines · Mike Frysinger
Signed-off-by Mike Frysinger <[email protected]>---
man3/getmntent.3 | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)man3/getmntent.3 +0
-0@@ -68,7 +68,7 @@ These routines are used to access the file system description fileThe
.BR setmntent ()
Quoted 8 lines
function opens the file system description file -\fIfp\fP and returns a file pointer which can be used by +\fIfilename\fP and returns a file pointer which can be used by .BR getmntent ().
The argument \fItype\fP is the type of access
required and can take the same values as the \fImode\fP argument of --
1.6.4
Thanks. Applied for 3.23.
Cheers,
Michael
Signature · 8 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Watch my Linux system programming book progress to publication! http://blog.man7.org/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html