Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346827 - sys-apps/man-pages-? - getdelim man page missing FILE parameter
Summary: sys-apps/man-pages-? - getdelim man page missing FILE parameter
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-26 09:02 UTC by meyerm
Modified: 2010-12-07 04:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description meyerm 2010-11-26 09:02:28 UTC
Hi, the manpage of getdelim features the following prototype:

ssize_t getdelim(char **lineptr, size_t *n, int delimstream);

The correct one should be

ssize_t getdelim(char **restrict lineptr, size_t *restrict n, int delimiter, FILE *restrict stream);

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-07 02:24:56 UTC
Which version is that? Current stable 3.28 has:

       ssize_t getdelim(char **lineptr, size_t *n, int delim, FILE *stream);