Bug 4309

Summary: dprintf() is in POSIX.1-2008, is not GNU specific anymore
Product: uClibc Reporter: Cristian Morales Vega <cristian>
Component: stdioAssignee: unassigned
Status: NEW ---    
Severity: minor CC: uclibc-cvs
Priority: P5    
Version: 0.9.32   
Target Milestone: ---   
Hardware: All   
OS: All   
Host: Target:
Build:

Description Cristian Morales Vega 2011-10-13 11:11:26 UTC
dprintf() is in POSIX.1-2008 (http://pubs.opengroup.org/onlinepubs/9699919799/functions/dprintf.html). So it should be enough if _POSIX_C_SOURCE was defined to 200809L.
But with uClibc I need to define _GNU_SOURCE for the function to be declared in stdio.
Comment 1 Cristian Morales Vega 2011-10-20 09:29:11 UTC
The same is true for getline().
Comment 2 Bernhard Reutner-Fischer 2011-10-20 11:03:10 UTC
before you go on, yes, this is a TODO: "Go through SUSv4"

http://git.busybox.net/uClibc/tree/TODO#n42