Skip to contentSkip to conversation

Bug in process_vm_readv manpage: no mention of need to define _GNU_SOURCE

DISCUSSION Michael Kerrisk (man-pages) 1 participant 1 message May 5, 2014 2 messages not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#2 lore raw
In reply to a message not in the archive
Quoted 10 lines · Stijn Hinterding

Dear sirs,

Following is a bug report for the process_vm_writev / process_vm_readv manpage.

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_SOURCE needs 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