X-Git-Url: https://secure.softndesign.org/git/?a=blobdiff_plain;f=fprintf.h;fp=fprintf.h;h=8c2bb0bb2f81ad971c921be5098ba0473685e205;hb=c84ea202625d9191e7c76cb1ac4eb3d18b9b0605;hp=8686b43507ab5cab6abb40115c6e913787fa0445;hpb=92fc2c44fc12524b636ed9778b26c91f6bedad59;p=compress.git diff --git a/fprintf.h b/fprintf.h index 8686b43..8c2bb0b 100644 --- a/fprintf.h +++ b/fprintf.h @@ -3,6 +3,12 @@ int fdprintf (int fd, const char *fmt, ...); +extern int _fdout; +extern int _fderr; + +#define PRINTOUT(fmt...) fdprintf (_fdout, fmt) +#define PRINTERR(fmt...) fdprintf (_fderr, fmt) + #endif /* __FPRINTF_H__ */ /* vim: set ts=4 sw=4 et */