|
|
1.1 ! root 1: /* ! 2: * testuid.c -- ! 3: * ! 4: * This file contains a simple program that will compile ! 5: * correctly if and only if <sys/types.h> defines the ! 6: * type uid_t. It is used to determine whether this type ! 7: * is defined on a given system. ! 8: * ! 9: * Copyright 1991 Regents of the University of California ! 10: * Permission to use, copy, modify, and distribute this ! 11: * software and its documentation for any purpose and without ! 12: * fee is hereby granted, provided that this copyright ! 13: * notice appears in all copies. The University of California ! 14: * makes no representations about the suitability of this ! 15: * software for any purpose. It is provided "as is" without ! 16: * express or implied warranty. ! 17: */ ! 18: ! 19: #ifndef lint ! 20: static char rcsid[] = "$Header: /user6/ouster/tcl/compat/RCS/testuid.c,v 1.1 91/12/06 15:31:28 ouster Exp $ SPRITE (Berkeley)"; ! 21: #endif /* not lint */ ! 22: ! 23: #include <sys/types.h> ! 24: ! 25: uid_t uid; ! 26: ! 27: int main() ! 28: { ! 29: return 0; ! 30: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.