Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 346827

Summary: sys-apps/man-pages-? - getdelim man page missing FILE parameter
Product: Gentoo Linux Reporter: meyerm
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: trivial    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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);