ftp.nice.ch/pub/next/unix/communication/ft_bbs.1.0.s.tar.gz#/ft_bbs-1.0/conf/linux.h

This is linux.h in view mode; [Download] [Up]

#ifndef _BBS_LINUX_INCLUDED
#define _BBS_LINUX_INCLUDED

#ifndef _POSIX_SOURCE
#error "should be compiled as a POSIX-source (compileroption -posix)"
#endif

#include <sys/time.h>

#define TGETENTBUF 2048

#ifndef __USE_GNU
extern int strncasecmp(const char *, const char *, size_t);
#endif

#ifndef __USE_BSD
extern char *getpass(const char *);
extern long int random(void);
extern void srandom(unsigned int);
extern int readlink(const char *, char *, size_t);
extern int gethostname(char *, size_t);
#endif

#ifndef  __USE_POSIX2
extern int getopt(int, char * const [], const char *);
#endif

#ifndef  __USE_SVID
extern int putenv(const char *);
#endif

#ifndef __USE_MISC
extern char* crypt(const char *, const char *);
extern void usleep(unsigned long);
#endif

#endif  /* _BBS_LINUX_INCLUDED */

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.