Diff of /trunk/mkinitrd-magellan/busybox/coreutils/length.c
Parent Directory | Revision Log | Patch
revision 983 by niro, Fri Apr 24 18:33:46 2009 UTC | revision 984 by niro, Sun May 30 11:32:42 2010 UTC | |
---|---|---|
# | Line 1 | Line 1 |
1 | /* vi: set sw=4 ts=4: */ | /* vi: set sw=4 ts=4: */ |
2 | /* | |
3 | * Licensed under GPLv2, see file LICENSE in this tarball for details. | |
4 | */ | |
5 | ||
6 | /* BB_AUDIT SUSv3 N/A -- Apparently a busybox (obsolete?) extension. */ | /* BB_AUDIT SUSv3 N/A -- Apparently a busybox (obsolete?) extension. */ |
7 | ||
# | Line 15 int length_main(int argc, char **argv) | Line 18 int length_main(int argc, char **argv) |
18 | ||
19 | printf("%u\n", (unsigned)strlen(*argv)); | printf("%u\n", (unsigned)strlen(*argv)); |
20 | ||
21 | return fflush(stdout); | return fflush_all(); |
22 | } | } |
|