This commit is contained in:
Oliver Lehmann 1989-05-02 16:05:49 +00:00
parent 536ed2ff28
commit 47dc6c0298
2 changed files with 78 additions and 0 deletions

View File

@ -0,0 +1,39 @@
/* Maximum number of open files per process. */
/* Must match 'NOFILE' entry in /usr/sys/param.h */
# define MAXFILES 20
/* USERDBS is the BS login name of the DBS superuser, */
/* normally "daba" of course. The root of this persons */
/* subtree as listed in AA_PASSWD becomes the root of */
/* the DBS subtree. */
# define USERDBS "daba"
/* Structure for 'gtty' and 'stty' */
# include <sgtty.h>
/* Structure for 'fstat' and 'stat' system calls. */
# include <sys/types.h>
# include <sys/stat.h>
/* SETEXIT | RESET */
/* In version 7, setexit is not defined, reset too: */
/* this fakes it. */
# ifdef P8000
# include <setret.h>
extern ret_buf AAjmp_buf;
# define setexit() setret(AAjmp_buf)
# define reset() longret(AAjmp_buf, 1)
# else
# include <setjmp.h>
extern jmp_buf AAjmp_buf;
# define setexit() setjmp(AAjmp_buf)
# define reset() longjmp(AAjmp_buf, 1)
# endif

View File

@ -0,0 +1,39 @@
/* Maximum number of open files per process. */
/* Must match 'NOFILE' entry in /usr/sys/param.h */
# define MAXFILES 20
/* USERDBS is the BS login name of the DBS superuser, */
/* normally "ing_db" of course. The root of this persons */
/* subtree as listed in AA_PASSWD becomes the root of */
/* the DBS subtree. */
# define USERDBS "ing_db"
/* Structure for 'gtty' and 'stty' */
# include <sgtty.h>
/* Structure for 'fstat' and 'stat' system calls. */
# include <sys/types.h>
# include <sys/stat.h>
/* SETEXIT | RESET */
/* In version 7, setexit is not defined, reset too: */
/* this fakes it. */
# ifdef P8000
# include <setret.h>
extern ret_buf AAjmp_buf;
# define setexit() setret(AAjmp_buf)
# define reset() longret(AAjmp_buf, 1)
# else
# include <setjmp.h>
extern jmp_buf AAjmp_buf;
# define setexit() setjmp(AAjmp_buf)
# define reset() longjmp(AAjmp_buf, 1)
# endif