aboutsummaryrefslogtreecommitdiff
path: root/src/base/error/exits.c
blob: 3be9625e03beca3524e22b5e4ea68cc622c32e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "internal.h"

void
exits(char *s)
{
    if(s == nil || *s == 0)
        rt·exit(0);

    //fputs(s, stderr);
    rt·exit(1);
}