Ok :)
Anyway, I was curious and I checked about that macro with this source code:
#include <stdio.h>
int main(void){
#ifdef _BSD_SOURCE
printf("_BSD_SOURCE is defined\n");
Type: Posts; User: kr0n1x
Ok :)
Anyway, I was curious and I checked about that macro with this source code:
#include <stdio.h>
int main(void){
#ifdef _BSD_SOURCE
printf("_BSD_SOURCE is defined\n");
Thanks for your support, grumpy.
I was reading 'man signal' to learn more about this behaviour, and it seems to change according to libc version and macros defined.
In my Ubuntu 10.04...
I'm reading the GNU libc manual, the part about signals.
In this page it shows some code. I report it here:
#include <signal.h>
#include <stdio.h>
#include <stdlib.h>
...