Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jun 1995 18:39:28 -0700
From:      Bruce Evans <bde>
To:        CVS-commiters, cvs-sys
Subject:   cvs commit: src/sys/i386/include ansi.h
Message-ID:  <199506280139.SAA12738@freefall.cdrom.com>

next in thread | raw e-mail | index | archive | help
bde         95/06/27 18:39:27

  Modified:    sys/i386/include  ansi.h
  Log:
  Define macros _BSD_OFF_T_ and _BSD_PID_T_ suitable for use instead
  of the typedefs off_t and pid_t when use of the latter would cause
  namespace pollution.  These macros are used like _BSD_VA_LIST_ and
  aren't #undef'ed when the corresponding typedef is declared.
  off_t is very machine-dependent and should never have been decided
  in <sys/types.h> (its declaration is compiler-dependent).  pid_t
  isn't very machine-dependent, but this might change.  `long' is
  a wasteful type for it if longs are longer than ints.
  
  Move the definition of _BSD_VA_LIST_ away from the comment that
  suggests that it is #undefed when va_list is declared.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199506280139.SAA12738>