Skip to contentSkip to conversation

setmntent() takes a filename, not fp

PATCH In review Mike Frysinger 2 participants 2 messages Sep 2, 2009 – Sep 15, 2009 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 setmntent() takes a filename, not fp

---
 man3/getmntent.3 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
man3/getmntent.3 +1 -1
index f775fa1..32078a5 100644
@@ -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

#2 lore raw

Hi Mike,

Quoted 12 lines · Mike Frysinger

---
 man3/getmntent.3 |    2 +-

 1 files changed, 1 insertions(+), 1 deletions(-)
man3/getmntent.3 +0 -0
index f775fa1..32078a5 100644
@@ -68,7 +68,7 @@ These routines are used to access the file system description file

 The
 .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