xref: /freebsd/contrib/tcpdump/lbl/os-ultrix4.h (revision 9b3ece1c2eb92a881cb2553271e123382bfe31c1)
14de76e31SBill Fenner /*
24de76e31SBill Fenner  * Copyright (c) 1990, 1993, 1994, 1995, 1996
34de76e31SBill Fenner  *	The Regents of the University of California.  All rights reserved.
44de76e31SBill Fenner  *
54de76e31SBill Fenner  * Redistribution and use in source and binary forms, with or without
64de76e31SBill Fenner  * modification, are permitted provided that: (1) source code distributions
74de76e31SBill Fenner  * retain the above copyright notice and this paragraph in its entirety, (2)
84de76e31SBill Fenner  * distributions including binary code include the above copyright notice and
94de76e31SBill Fenner  * this paragraph in its entirety in the documentation or other materials
104de76e31SBill Fenner  * provided with the distribution, and (3) all advertising materials mentioning
114de76e31SBill Fenner  * features or use of this software display the following acknowledgement:
124de76e31SBill Fenner  * ``This product includes software developed by the University of California,
134de76e31SBill Fenner  * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
144de76e31SBill Fenner  * the University nor the names of its contributors may be used to endorse
154de76e31SBill Fenner  * or promote products derived from this software without specific prior
164de76e31SBill Fenner  * written permission.
174de76e31SBill Fenner  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
184de76e31SBill Fenner  * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF
194de76e31SBill Fenner  * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
204de76e31SBill Fenner  */
214de76e31SBill Fenner 
224de76e31SBill Fenner /* Prototypes missing in Ultrix 4 */
234de76e31SBill Fenner int	bcmp(const char *, const char *, u_int);
244de76e31SBill Fenner void	bcopy(const void *, void *, u_int);
254de76e31SBill Fenner void	bzero(void *, u_int);
264de76e31SBill Fenner void	endservent(void);
274de76e31SBill Fenner int	getopt(int, char * const *, const char *);
284de76e31SBill Fenner #ifdef __STDC__
294de76e31SBill Fenner struct timeval;
304de76e31SBill Fenner struct timezone;
314de76e31SBill Fenner #endif
324de76e31SBill Fenner int	gettimeofday(struct timeval *, struct timezone *);
334de76e31SBill Fenner int	ioctl(int, int, caddr_t);
344de76e31SBill Fenner int	pfopen(char *, int);
354de76e31SBill Fenner int	setlinebuf(FILE *);
364de76e31SBill Fenner int	socket(int, int, int);
37