Search:

Type: Posts; User: kr0n1x

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    18,533

    Ok :) Anyway, I was curious and I checked...

    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");
  2. Replies
    4
    Views
    18,533

    Thanks for your support, grumpy. I was reading...

    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...
  3. Replies
    4
    Views
    18,533

    When to re-enable signal handlers

    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>
    ...
Results 1 to 3 of 3