MCPcopy Create free account
hub / github.com/coreutils/coreutils / usage

Function usage

src/mkfifo.c:45–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45void
46usage (int status)
47{
48 if (status != EXIT_SUCCESS)
49 emit_try_help ();
50 else
51 {
52 printf (_("Usage: %s [OPTION]... NAME...\n"), program_name);
53 fputs (_("\
54Create named pipes (FIFOs) with the given NAMEs.\n\
55"), stdout);
56
57 emit_mandatory_arg_note ();
58
59 oputs (_("\
60 -m, --mode=MODE\n\
61 set file permission bits to MODE, not a=rw - umask\n\
62"));
63 oputs (_("\
64 -Z\n\
65 set the SELinux security context to default type\n\
66"));
67 oputs (_("\
68 --context[=CTX]\n\
69 like -Z, or if CTX is specified then set the\n\
70 SELinux or SMACK security context to CTX\n\
71"));
72 oputs (HELP_OPTION_DESCRIPTION);
73 oputs (VERSION_OPTION_DESCRIPTION);
74 emit_ancillary_info (PROGRAM_NAME);
75 }
76 exit (status);
77}
78
79int
80main (int argc, char **argv)

Callers 1

mainFunction · 0.70

Calls 2

emit_mandatory_arg_noteFunction · 0.85
emit_ancillary_infoFunction · 0.85

Tested by

no test coverage detected