NAME

seperr - print line and exit with a failure code


SYNOPSIS

void seperr(string)


INPUT PARAMETERS

char* - string
      C print statement, see comments


DESCRIPTION

This function permits the programmer to terminate program execution and print an error message using printf (3) format control. The message is prefixed with the program name to prevent confusion.

From fortran you can only specify a string to print, no format control is available.


COMMENTS

From C:

seperr(format, value1, value2, ...) char *format

From Fortran:

call seperr('error message')


SEE ALSO

printf(3), seplib, the sepwarn manpage


DIAGNOSTICS

The system exit code used is -1.


BUGS

Fortran programmers can only pass string values.


KEYWORDS

error exit quit


LIBRARY

sep