xref: /freebsd/contrib/libpcap/lbl/os-ultrix4.h (revision a3906ca572a6be18d39883a1ce431f147918385a)
13052b236SBill Fenner /*
23052b236SBill Fenner  * Copyright (c) 1990, 1993, 1994, 1995, 1996
33052b236SBill Fenner  *	The Regents of the University of California.  All rights reserved.
43052b236SBill Fenner  *
53052b236SBill Fenner  * Redistribution and use in source and binary forms, with or without
63052b236SBill Fenner  * modification, are permitted provided that: (1) source code distributions
73052b236SBill Fenner  * retain the above copyright notice and this paragraph in its entirety, (2)
83052b236SBill Fenner  * distributions including binary code include the above copyright notice and
93052b236SBill Fenner  * this paragraph in its entirety in the documentation or other materials
103052b236SBill Fenner  * provided with the distribution, and (3) all advertising materials mentioning
113052b236SBill Fenner  * features or use of this software display the following acknowledgement:
123052b236SBill Fenner  * ``This product includes software developed by the University of California,
133052b236SBill Fenner  * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
143052b236SBill Fenner  * the University nor the names of its contributors may be used to endorse
153052b236SBill Fenner  * or promote products derived from this software without specific prior
163052b236SBill Fenner  * written permission.
173052b236SBill Fenner  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
183052b236SBill Fenner  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
193052b236SBill Fenner  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
203052b236SBill Fenner  */
213052b236SBill Fenner 
223052b236SBill Fenner /* Prototypes missing in Ultrix 4 */
233052b236SBill Fenner int	bcmp(const char *, const char *, u_int);
243052b236SBill Fenner void	bcopy(const void *, void *, u_int);
253052b236SBill Fenner void	bzero(void *, u_int);
263052b236SBill Fenner int	getopt(int, char * const *, const char *);
273052b236SBill Fenner #ifdef __STDC__
283052b236SBill Fenner struct timeval;
293052b236SBill Fenner struct timezone;
303052b236SBill Fenner #endif
313052b236SBill Fenner int	gettimeofday(struct timeval *, struct timezone *);
323052b236SBill Fenner int	ioctl(int, int, caddr_t);
333052b236SBill Fenner int	pfopen(char *, int);
343052b236SBill Fenner int	setlinebuf(FILE *);
353052b236SBill Fenner int	socket(int, int, int);
363052b236SBill Fenner int	strcasecmp(const char *, const char *);
37