File: msg.h

package info (click to toggle)
earlyoom 1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 204 kB
  • sloc: ansic: 718; makefile: 82; sh: 71
file content (15 lines) | stat: -rw-r--r-- 310 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* SPDX-License-Identifier: MIT */
#ifndef MSG_H
#define MSG_H

void fatal(int code, char* fmt, ...);
int warn(const char* fmt, ...);

typedef struct {
    long term;
    long kill;
} term_kill_tuple_t;

term_kill_tuple_t parse_term_kill_tuple(char* opt, char* optarg, long upper_limit, int exitcode);

#endif