root/browse/system.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


/* system type */

#ifndef BSD
# if defined(sun) || defined(sun3)
#  define BSD 1
# endif
#endif

#ifndef USG
# ifdef L_ctermid
#  define USG 1
# endif
# ifdef M_XENIX
#  define USG 1
# endif
#endif

#ifdef BSD
# undef USG
#endif

#ifdef USG
# define rindex strrchr
# ifdef M_XENIX
#  define GETCWD
#  define SIGNAL int
# else
#  define minor(i) ((i)&0xFF)
#  define major(i) minor((i)>>8)
#  define SIGNAL void
# endif
#else
# ifdef BSD
#  define SIGNAL void
# else
#  define SIGNAL int
#  include <whoami.h>
# endif
#endif


/* [<][>][^][v][top][bottom][index][help] */