#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>

/* setsid()
 *
 * bind need setsid. didn't have setsid. made setsid. does nothing.
 * but it will never fail :-)
 */
pid_t setsid(void){return (pid_t)0;};

/* setgid()
 *
 * I had only one requirement for setgid: it should never fail.
 * The EMX version failed, so I provided my own...
 */
int setgid(gid_t gid){return 0;};

/* fchmod()
 *
 * because chmod would return an error, and thus make several functions fail,
 * I defined HAVE_FCHMOD and wrote this function which never returns an error.
 * How could chmod fail on an OS/2 system, anyway?
 */
int fchmod(int handle,mode_t mode){return 0;};

/* Do nothing, return all OK. */
int fchown(int fd, uid_t owner, gid_t group){return 0;}

/* No deamon */
/* int daemon(int param1, int param2) { return(0);} */
