Blob
1 .TH SYSFATAL 32 .SH NAME3 sysfatal \- system error messages4 .SH SYNOPSIS5 .B #include <u.h>6 .br7 .B #include <libc.h>8 .PP9 .B10 void sysfatal(char *fmt, ...)11 .SH DESCRIPTION12 .I Sysfatal13 prints to standard error the name of the running program,14 a colon and a space,15 the message described by the16 .IR print (3)17 format string18 .I fmt19 and subsequent arguments, and a newline.20 It then calls21 .IR exits (3)22 with the formatted message as argument.23 The program's name is the value of24 .BR argv0 ,25 which will be set if the program uses the26 .IR arg (3)27 interface to process its arguments.28 If29 .B argv030 is null, it is ignored and the following colon and space are suppressed.31 .SH SOURCE32 .B /usr/local/plan9/src/lib9/sysfatal.c33 .SH "SEE ALSO"34 .IR intro (3),35 .IR errstr (3),36 the37 .B %r38 format in39 .IR print (3)