aboutsummaryrefslogtreecommitdiff
path: root/src/lib9/_exits.c
blob: a17c25aa692138a3cf5c7404fab1593ab0c79ae2 (plain)
1
2
3
4
5
6
7
8
9
10
#include <u.h>
#include <libc.h>

void
_exits(char *s)
{
	if(s == 0 || *s == 0)
		_exit(0);
	_exit(exitcode(s));
}