lkml.org 
[lkml]   [2000]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: Announce: initrd-tftp 0.1
    Date
    From
    >Of course, calling printf makes it big again, but that's no real surprise
    >(and it's still not as big as before).

    Yes. That would be a far harder problem to solve - the problem is just that
    the stdio implementation in glibc is based on GNU libio, which is pretty
    large. For space-critical applications you might want to build a library
    containing an alternative stdio (maybe the one from newlib) and link with
    that.

    >It seems prudent to call _exit() in exit() and abort() rather than do
    >absolutely nothing, though; this avoids a segfault at shutdown if you
    >actually do any work in main().

    Good point.

    p.



    -
    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:55    [W:0.024 / U:35.176 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site