ftp.nice.ch/pub/next/unix/communication/TipTop-goodies.s.tar.gz#/TipTop-goodies-src/tcl6.7/compat/testpid.c

This is testpid.c in view mode; [Download] [Up]

/* 
 * testpid.c --
 *
 *	This file contains a simple program that will compile
 *	correctly if and only if <sys/types.h> defines the
 *	type pid_t.  It is used to determine whether this type
 *	is defined on a given system.
 *
 * Copyright 1991 Regents of the University of California
 * Permission to use, copy, modify, and distribute this
 * software and its documentation for any purpose and without
 * fee is hereby granted, provided that this copyright
 * notice appears in all copies.  The University of California
 * makes no representations about the suitability of this
 * software for any purpose.  It is provided "as is" without
 * express or implied warranty.
 */

#ifndef lint
static char rcsid[] = "$Header: /user6/ouster/tcl/compat/RCS/testpid.c,v 1.2 91/12/06 15:31:32 ouster Exp $ SPRITE (Berkeley)";
#endif /* not lint */

#include <sys/types.h>

pid_t pid;

int main()
{
    return 0;
}

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.