This is the mail archive of the glibc-bugs@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]

[Bug manual/21161] New: [PATCH] fix typo in manual/arith.texi on strtoul prototype


https://sourceware.org/bugzilla/show_bug.cgi?id=21161

            Bug ID: 21161
           Summary: [PATCH] fix typo in manual/arith.texi on strtoul
                    prototype
           Product: glibc
           Version: 2.25
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: manual
          Assignee: unassigned at sourceware dot org
          Reporter: vincent-srcware at vinc17 dot net
                CC: mtk.manpages at gmail dot com, roland at gnu dot org
  Target Milestone: ---

Created attachment 9827
  --> https://sourceware.org/bugzilla/attachment.cgi?id=9827&action=edit
patch fixing the typo

In manual/arith.texi of the git repository, the first argument of strtoul is
incorrect: it has "retrict" instead of "restrict", i.e.

@deftypefun {unsigned long int} strtoul (const char *retrict @var{string}, char
**restrict @var{tailptr}, int @var{base})

should be:

@deftypefun {unsigned long int} strtoul (const char *restrict @var{string},
char **restrict @var{tailptr}, int @var{base})

I've attached a patch.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

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