[lkml]   [2001]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: asm/unistd.h

    Sardañ, Eliel writes:
    > I'm taking a look at the linux code and I don't understand how do you
    > programm...mmm (?) may be i'm a stupid why in include/asm/unistd.h in some
    > macros you use this:

    Two reasons:

    1) Empty statements give a warning from the compiler so
    this is why you see "#define FOO do { } while(0)"
    2) It gives you a basic block in which to declare local

    David S. Miller
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:17    [W:0.021 / U:68.788 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site