diff options
author | Alexei Vladishev <alexei.vladishev@zabbix.com> | 2003-08-09 18:56:08 +0400 |
---|---|---|
committer | Alexei Vladishev <alexei.vladishev@zabbix.com> | 2003-08-09 18:56:08 +0400 |
commit | 9b4f8da91dda53925f66fd7a522f09ad8ba3c236 (patch) | |
tree | 60c8a740f9fe9c770e329dc64e3db7835e243dd3 /include/pid.h | |
parent | 3b07e52fcda179dad1db00f5dcb4e47c8bf3935e (diff) |
- fixed sysinfo() result. Multiplication to mem_unit required (Alexei)
- better reporting in case of different startup errors (Alexei)
- added include/pid.c and include/pid.h (Alexei)
Diffstat (limited to 'include/pid.h')
-rw-r--r-- | include/pid.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/include/pid.h b/include/pid.h new file mode 100644 index 00000000000..d8af1e785d0 --- /dev/null +++ b/include/pid.h @@ -0,0 +1,25 @@ +/* +** Zabbix +** Copyright (C) 2000,2001,2002,2003 Alexei Vladishev +** +** This program is free software; you can redistribute it and/or modify +** it under the terms of the GNU General Public License as published by +** the Free Software Foundation; either version 2 of the License, or +** (at your option) any later version. +** +** This program is distributed in the hope that it will be useful, +** but WITHOUT ANY WARRANTY; without even the implied warranty of +** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +** GNU General Public License for more details. +** +** You should have received a copy of the GNU General Public License +** along with this program; if not, write to the Free Software +** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +**/ + +#ifndef ZABBIX_PID_H +#define ZABBIX_PID_H + +int create_pid_file(const char *pidfile); + +#endif |