File: watch_err.h

package info (click to toggle)
watchdog 5.4-10lenny2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 936 kB
  • ctags: 684
  • sloc: ansic: 6,294; sh: 1,266; makefile: 72
file content (14 lines) | stat: -rw-r--r-- 623 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*********************************/
/* additional error return codes */
/*********************************/

#define ENOERR		0	/* no error */
#define EREBOOT		-1	/* unconditional reboot */
#define ERESET		-2	/* unconditional hard reset */
#define EMAXLOAD	-3	/* load average too high */
#define ETOOHOT		-4	/* too hot inside */
#define ENOLOAD		-5	/* /proc/loadavg contains no data */
#define ENOCHANGE	-6	/* file wasn't changed in the given interval */
#define EINVMEM		-7	/* /proc/meminfo contains invalid data */
#define ECHKILL		-8	/* child was killed by signal */
#define ETOOLONG	-9	/* child didn't return in time */