import cinit from unix.schottelius.org
Signed-off-by: Nico Schottelius <nico@ikn.schottelius.org>
This commit is contained in:
parent
3729fc68eb
commit
423ba10303
13396 changed files with 269468 additions and 0 deletions
19
software/cinit/browse_source/cinit-0.2.1/generic/usage.c
Normal file
19
software/cinit/browse_source/cinit-0.2.1/generic/usage.c
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
/*
|
||||
* (c) 2005 Nico Schottelius (nico-linux at schottelius.org)
|
||||
* usage: tell the world what we want - no capitalism
|
||||
* part of cLinux/cinit
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
#include "cinit.h"
|
||||
|
||||
/***********************************************************************
|
||||
* usage: tell the user what's wrong and a help text
|
||||
*/
|
||||
void usage(char *banner, char *text)
|
||||
{
|
||||
/* print banner + error message */
|
||||
mini_printf(banner,1);
|
||||
mini_printf(text,1);
|
||||
_exit(1);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue