err.h (7803) | err.h (18286) |
---|---|
1/*- 2 * Copyright (c) 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 33 unchanged lines hidden (view full) --- 42 * of them here we may collide with the utility's includes. It's unreasonable 43 * for utilities to have to include one of them to include err.h, so we get 44 * _BSD_VA_LIST_ from <machine/ansi.h> and use it. 45 */ 46#include <machine/ansi.h> 47#include <sys/cdefs.h> 48 49__BEGIN_DECLS | 1/*- 2 * Copyright (c) 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 33 unchanged lines hidden (view full) --- 42 * of them here we may collide with the utility's includes. It's unreasonable 43 * for utilities to have to include one of them to include err.h, so we get 44 * _BSD_VA_LIST_ from <machine/ansi.h> and use it. 45 */ 46#include <machine/ansi.h> 47#include <sys/cdefs.h> 48 49__BEGIN_DECLS |
50__dead void err __P((int, const char *, ...)) __dead2; 51__dead void verr __P((int, const char *, _BSD_VA_LIST_)) __dead2; 52__dead void errx __P((int, const char *, ...)) __dead2; 53__dead void verrx __P((int, const char *, _BSD_VA_LIST_)) __dead2; 54void warn __P((const char *, ...)); 55void vwarn __P((const char *, _BSD_VA_LIST_)); 56void warnx __P((const char *, ...)); 57void vwarnx __P((const char *, _BSD_VA_LIST_)); 58void err_set_file __P((void *)); 59void err_set_exit __P((void (*)__P((int)))); | 50void err __P((int, const char *, ...)) __dead2; 51void verr __P((int, const char *, _BSD_VA_LIST_)) __dead2; 52void errx __P((int, const char *, ...)) __dead2; 53void verrx __P((int, const char *, _BSD_VA_LIST_)) __dead2; 54void warn __P((const char *, ...)); 55void vwarn __P((const char *, _BSD_VA_LIST_)); 56void warnx __P((const char *, ...)); 57void vwarnx __P((const char *, _BSD_VA_LIST_)); 58void err_set_file __P((void *)); 59void err_set_exit __P((void (*)(int))); |
60__END_DECLS 61 62#endif /* !_ERR_H_ */ | 60__END_DECLS 61 62#endif /* !_ERR_H_ */ |