Bug 4309 - dprintf() is in POSIX.1-2008, is not GNU specific anymore
Summary: dprintf() is in POSIX.1-2008, is not GNU specific anymore
Status: NEW
Alias: None
Product: uClibc
Classification: Unclassified
Component: stdio (show other bugs)
Version: 0.9.32
Hardware: All All
: P5 minor
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-13 11:11 UTC by Cristian Morales Vega
Modified: 2011-10-20 11:03 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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