summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-06-28 01:39:26 +0000
committerbde <bde@FreeBSD.org>1995-06-28 01:39:26 +0000
commitb1b0001edf190286ba98dccf411c59ed71d95537 (patch)
tree040f4b228cc8714d5673bfd14f1024af4445bfdf /include
parentf29b23726307342dbbf0eb089f776c57217c1a09 (diff)
downloadFreeBSD-src-b1b0001edf190286ba98dccf411c59ed71d95537.zip
FreeBSD-src-b1b0001edf190286ba98dccf411c59ed71d95537.tar.gz
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.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud