File: errmsg_iam.3

package info (click to toggle)
libowfat 0.34-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,288 kB
  • sloc: ansic: 20,181; makefile: 16
file content (19 lines) | stat: -rw-r--r-- 470 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.TH errmsg_iam 3
.SH NAME
errmsg_iam \- tell errmsg library the name of the program
.SH SYNTAX
.B #include <libowfat/errmsg.h>

void \fBerrmsg_iam\fP(const char *\fIprogname\fR);
.SH DESCRIPTION

Use this function to set the program name.

This function is usually called directly at the start of main() and
given argv[0] as argument.

This is important for batch processing, so the observer can tell which
program the error message came from.

.SH "SEE ALSO"
errmsg(7)