# System features file for SGI IRIX 5.x

# Debugging memory allocator
#
MALLOC_LIB=	../libmalloc/libmalloc_d.a

# signal handler return type
SIGNAL_TYPE=	void

FCNTL_H=	<fcntl.h>
STRING_H=	<string.h>
UNISTD_H=	<unistd.h>
STDLIB_H=	<stdlib.h>
STDARG_H=	<stdarg.h>


# IP IPC
# Library:	network and socket routines
# Include:	<netinet/*.h>, <net/*.h> etc
INET_LIB=
INET_INCL=	

# NFS support
# Include:	<mntent.h>
#NFS_LIB=	-lsun
NFS_INCL=

# BIND nameserver
# Library:	BIND resolver routines
# Include:	<netdb.h>, <arpa/nameser.h>, <resolv.h>
# Config file:	/etc/resolv.conf or /usr/etc/resolv.conf or similar
# The resolver routines are in the standard C library.
#
# Note: to ensure that zmailer uses the DNS versions
# of gethostbyxxx, regardless of the settings in /etc/resolv.conf,
# add "HOSTRESORDER=bind; export HOSTRESORDER" to proto/zmailer.sh.
#RESOLV_LIB=	-lsun
RESOLV_INCL=
RESOLV_CONF=	"/etc/resolv.conf"

# NDBM
# Library:	dbm_open(), dbm_close(), dbm_fetch(), dbm_store(), dbm_delete(),
#		dbm_firstkey(), dbm_nextkey(), dbm_error(), dbm_clearerr()
# Include:	<ndbm.h>
NDBM_LIB=
NDBM_INCL=

# DBM
# Library:	dbm_init(), fetch(), store(), delete(), firstkey(), nextkey()
# Include:	<dbm.h>
DBM_LIB=
DBM_INCL=

# Hosts file routines
# Library:	sethostent(), gethostbyname()
# Include:	<netdb.h>
# Hosts file:	"/etc/hosts"
#HOSTS_LIB=	-lsun
HOSTS_INCL=
HOSTS_FILE=	"/etc/hosts"

# Directory reading routines
# Library:	opendir(), readdir(), closedir(), rewinddir()
# Header file:	<sys/dir.h> on BSD, <dirent.h> on SVID, perhaps <ndir.h>
# Type:		either 'direct' or 'dirent' depending on flavour
NDIR_LIB=
NDIR_H=		<dirent.h>
NDIR_TYPE=	dirent
d_namlen=	d_reclen

# Syslog routines
# Library:      openlog(), syslog()
# Include:      <syslog.h>
SYSLOG_LIB=
SYSLOG_INCL=

# Location of time structure definitions
TIME_H=		<sys/time.h>

# Set each *_TYPE to the type of the corresponding function (see sysprotos.h)
FREAD_TYPE=	size_t
FWRITE_TYPE=	size_t
GETEUID_TYPE=	uid_t
GETUID_TYPE=	uid_t
SPRINTF_TYPE=	int
STRLEN_TYPE=	size_t
UMASK_TYPE=	mode_t
TIMES_TYPE=	clock_t
SETPWENT_TYPE=	void

# Set each variable to indicate the corresponding feature exists in libc
#SUNGETMNT=
LSTAT=
SETREUID=
FCHOWN=
FCHMOD=
STRCHR=
#UNAME=
DUP2=
#BSDSETPGRP=
#RLIMIT=
#BINMKDIR=
#BINRMDIR=
RENAME=
STATBLKSIZ=
BCOPY=
BZERO=
DOTLOCK=
#NFSMBOX=
#LOCKF=
#UNIONWAIT=
#YP=	# USE_YP doesn't quite work yet
SELECT=
TIMEVAL=
#NOFILE=
#BSDNODELAY=
VFPRINTF=
DBMCLOSE=
FTRUNCATE=
#BSDTIMEZONE=
SYSVTIMEZONE=
SIGLIST=
SETVBUF=
SETSID=
GETDTABLESIZE=
STRCSPN=
STRERROR=
# Use fsync() to flush new messages to disk (libc/mail.c)
FSYNC=

#file system stuff, how to get block size, on sgi want a #include <sys/fs/s5macros.h>

