diff mbox

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

Message ID 1431660865-14140-1-git-send-email-zenglg.jy@cn.fujitsu.com
State New
Headers show

Commit Message

Zeng Linggang May 15, 2015, 3:34 a.m. UTC
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(-)

Comments

Zeng Linggang May 27, 2015, 10:18 a.m. UTC | #1
Hello,

Ping!

Best regards,
Zeng

> 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
Zeng Linggang June 8, 2015, 6:35 a.m. UTC | #2
Hello,

Could someone help to review this. :)

Best regards,
Zeng

On Wed, 2015-05-27 at 18:18 +0800, Zeng Linggang wrote:
> Hello,
> 
> Ping!
> 
> Best regards,
> Zeng
> 
> > 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
>
diff mbox

Patch

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