]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
putgrent.3: Consistency fix: use "stream" as name for "FILE *" argument
authorCarlos O'Donell <carlos@redhat.com>
Fri, 16 Jan 2015 03:18:24 +0000 (22:18 -0500)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Fri, 16 Jan 2015 05:51:02 +0000 (06:51 +0100)
Harmonize all the manual pages to use "stream" for FILE*
instead of randomly using "fp" or "stream." Choosing something
and being consistent helps users scan the man pages quickly
and understand what they are looking at.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/putgrent.3

index 0d59c825a5d7afdf673d5041d7017da64f817a40..3509fe3196ab474ecb8997cd14f81fe101c519cc 100644 (file)
@@ -12,7 +12,7 @@ putgrent \- write a group database entry to a file
 .br
 .B #include <grp.h>
 .sp
-.BI "int putgrent(const struct group *" grp ", FILE *" fp );
+.BI "int putgrent(const struct group *" grp ", FILE *" stream );
 .SH DESCRIPTION
 The
 .BR putgrent ()
@@ -21,8 +21,7 @@ function is the counterpart for
 The function writes the content of the provided
 .IR "struct group"
 into the
-file pointed to by
-.IR fp .
+.IR stream .
 The list of group members must be NULL-terminated or NULL-initialized.
 .sp
 The