view src/daemon.h @ 252:836b7f2357f9

need ntohl() before using masks that are defined in host byte order
author Carl Byington <carl@five-ten-sg.com>
date Sun, 08 Apr 2012 16:10:31 -0700
parents 4db1457cd11a
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 */