This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] manual/users.texi: Modify race markings of fgetpwent and fgetgrent


As we know, document written in unified format that would be easy for
users to understand. strtok, ecvt, ttyname and other functions use their
names as identifier to mark race. But fgetgrent and fgetpwent use
fgrent and fpwent as identifier to mark race, the race identifier is
different from other functions.

Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com>
---
 manual/users.texi | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/manual/users.texi b/manual/users.texi
index e8f0f3b..9ad8aa9 100644
--- a/manual/users.texi
+++ b/manual/users.texi
@@ -2177,8 +2177,8 @@ particular file.
 @comment pwd.h
 @comment SVID
 @deftypefun {struct passwd *} fgetpwent (FILE *@var{stream})
-@safety{@prelim{}@mtunsafe{@mtasurace{:fpwent}}@asunsafe{@asucorrupt{} @asulock{}}@acunsafe{@acucorrupt{} @aculock{}}}
-@c fgetpwent @mtasurace:fpwent @asucorrupt @asulock @acucorrupt @aculock
+@safety{@prelim{}@mtunsafe{@mtasurace{:fgetpwent}}@asunsafe{@asucorrupt{} @asulock{}}@acunsafe{@acucorrupt{} @aculock{}}}
+@c fgetpwent @mtasurace:fgetpwent @asucorrupt @asulock @acucorrupt @aculock
 @c  fgetpos dup @asucorrupt @aculock @acucorrupt
 @c  libc_lock_lock dup @asulock @aculock
 @c  malloc dup @ascuheap @acsmem
@@ -2489,8 +2489,8 @@ particular file.
 @comment grp.h
 @comment SVID
 @deftypefun {struct group *} fgetgrent (FILE *@var{stream})
-@safety{@prelim{}@mtunsafe{@mtasurace{:fgrent}}@asunsafe{@asucorrupt{} @asulock{}}@acunsafe{@acucorrupt{} @aculock{}}}
-@c fgetgrent @mtasurace:fgrent @asucorrupt @asulock @acucorrupt @aculock
+@safety{@prelim{}@mtunsafe{@mtasurace{:fgetgrent}}@asunsafe{@asucorrupt{} @asulock{}}@acunsafe{@acucorrupt{} @aculock{}}}
+@c fgetgrent @mtasurace:fgetgrent @asucorrupt @asulock @acucorrupt @aculock
 @c  fgetpos dup @asucorrupt @aculock @acucorrupt
 @c  libc_lock_lock dup @asulock @aculock
 @c  malloc dup @ascuheap @acsmem
-- 
1.9.3


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]