getty: fix for NOCTTY killing us with SIGHUP
[oweals/busybox.git] / coreutils / dirname.c
index 246946ed03c59303545263e63c8da49596cdc344..101067c906a53803d8bdeea90957d5c64f0b2218 100644 (file)
 /* BB_AUDIT SUSv3 compliant */
 /* http://www.opengroup.org/onlinepubs/007904975/utilities/dirname.html */
 
+//usage:#define dirname_trivial_usage
+//usage:       "FILENAME"
+//usage:#define dirname_full_usage "\n\n"
+//usage:       "Strip non-directory suffix from FILENAME"
+//usage:
+//usage:#define dirname_example_usage
+//usage:       "$ dirname /tmp/foo\n"
+//usage:       "/tmp\n"
+//usage:       "$ dirname /tmp/foo/\n"
+//usage:       "/tmp\n"
+
 #include "libbb.h"
 
 /* This is a NOFORK applet. Be very careful! */