view src/daemon.h @ 27:9298f8b00db2 stable-1-0-10

patches from Takao Abe add switches for config and pid files
author Carl Byington <carl@five-ten-sg.com>
date Thu, 24 May 2018 10:35:45 -0700
parents 8ebecad6530f
children
line wrap: on
line source

/*
 * File:   daemon.h
 * Author: shasn
 *
 * Created on 22 Декабрь 2006 г., 15:28
 */

#ifndef _daemon_H
#define _daemon_H

#ifdef	__cplusplus
extern "C" {
#endif

int daemon(int nochdir, int noclose);


#ifdef	__cplusplus
}
#endif

#endif	/* _daemon_H */