Bug in process_vm_readv manpage: no mention of need to define _GNU_SOURCE
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): 32aae98b8af2ee4af07f79be33514569-Tcs81MCHamfqOYT2WTFYB/[email protected]
Quoted 10 lines · Stijn Hinterding
Dear sirs,
Following is a bug report for the
process_vm_writev/process_vm_readvmanpage.Platform: Ubuntu 13.10
x86_64
Man-pages release: 3.54
Kernel version: 3.11.0-20-generic
glibc version: 2.17
Quoted 6 lines
Description:
GNU extensions need te be enabled when using these functions (ie, define_GNU_SOURCE). This is not mentioned in the manpage, thus users will encounter errors upon compiling.Suggestion:
Mention that_GNU_SOURCEneeds to be declared before including <sys/uio.h>
Done. Thanks for the report, Stijn.
Cheers,
Michael
Signature · 7 lines
Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Linux/UNIX System Programming Training: http://man7.org/training/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html