lkml.org 
[lkml]   [1999]   [Oct]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectPuzzled: Memory alignment is struct stat
    In the kernel, the st_mode field of struct stat is 16 bit (unsigned
    short).
    In userland, it is unsigned int (32 bit on my machine). There must be
    some
    conversion between the two types, but I can't find it.

    It's not in fs/stat.c...
    I couldn't find it in glibc...

    HELP!


    Andreas

    ------------------------------------------------------------------------
    Andreas Gruenbacher, Vienna University of Technology
    a.gruenbacher@infosys.tuwien.ac.at
    Contact information: http://www.infosys.tuwien.ac.at/~agruenba

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.rutgers.edu
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 13:54    [W:0.025 / U:145.764 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site