Commit | Line | Data |
---|---|---|
1968fc94 LM |
1 | #ifndef __FDPRINTF_H__ |
2 | #define __FDPRINTF_H__ | |
3 | ||
4 | int fdprintf (int fd, const char *fmt, ...); | |
5 | ||
be3eec84 | 6 | extern int stdfdin; |
a8476deb LM |
7 | extern int stdfdout; |
8 | extern int stdfderr; | |
1968fc94 | 9 | |
a8476deb LM |
10 | #define PRINTOUT(fmt...) fdprintf (stdfdout, fmt) |
11 | #define PRINTERR(fmt...) fdprintf (stdfderr, fmt) | |
1968fc94 LM |
12 | |
13 | #endif /* __FDPRINTF_H__ */ | |
14 | ||
15 | /* vim: set ts=4 sw=4 et: */ |