[lkml]   [2004]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Use NULL instead of integer 0 in security/selinux/
    On Fri, Jul 09, 2004 at 09:43:18PM -0400, Kyle Moffett wrote:
    > most clear? These are all "logically" correct, for the most part, but
    > as humans we have certain readability standards.

    Nope, B is undefined.

    > int some_function(int a, void *b, char *c, unsigned char d, int e);
    > A) int res = some_function(0,0,0,0,0);
    > B) int res = some_function(NULL,NULL,NULL,NULL,NULL);
    > C) int res = some_function(0,NULL,NULL,'\0',0);
    Visit Openswan at
    Email: Herbert Xu ~{PmV>HI~} <>
    Home Page:
    PGP Key:
    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 14:04    [W:0.019 / U:6.932 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site