|
|
1.1 ! root 1: /*- ! 2: * Copyright (c) 1990 The Regents of the University of California. ! 3: * All rights reserved. ! 4: * ! 5: * This code is derived from software contributed to Berkeley by ! 6: * the Systems Programming Group of the University of Utah Computer ! 7: * Science Department. ! 8: * ! 9: * Redistribution and use in source and binary forms are permitted provided ! 10: * that: (1) source distributions retain this entire copyright notice and ! 11: * comment, and (2) distributions including binaries display the following ! 12: * acknowledgement: ``This product includes software developed by the ! 13: * University of California, Berkeley and its contributors'' in the ! 14: * documentation or other materials provided with the distribution and in ! 15: * all advertising materials mentioning features or use of this software. ! 16: * Neither the name of the University nor the names of its contributors may ! 17: * be used to endorse or promote products derived from this software without ! 18: * specific prior written permission. ! 19: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED ! 20: * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF ! 21: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 22: */ ! 23: ! 24: #if defined(LIBC_SCCS) && !defined(lint) ! 25: static char sccsid[] = "@(#)eprintf.c 5.2 (Berkeley) 6/8/90"; ! 26: #endif /* LIBC_SCCS and not lint */ ! 27: ! 28: #include <stdio.h> ! 29: ! 30: /* This is used by the `assert' macro. */ ! 31: void ! 32: __eprintf(string, line, filename) ! 33: char *string; ! 34: int line; ! 35: char *filename; ! 36: { ! 37: (void)fprintf(stderr, string, line, filename); ! 38: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.