Soft'N'Design Software
/
projects
/
calc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
fix percent printing
[calc.git]
/
fdprintf.h
1
#ifndef __FDPRINTF_H__
2
#define __FDPRINTF_H__
3
4
int
fdprintf
(
int
fd
,
const char
*
fmt
, ...);
5
6
extern
int
stdfdin
;
7
extern
int
stdfdout
;
8
extern
int
stdfderr
;
9
10
#define PRINTOUT(fmt...) fdprintf (stdfdout, fmt)
11
#define PRINTERR(fmt...) fdprintf (stdfderr, fmt)
12
13
#endif
/* __FDPRINTF_H__ */
14
15
/* vim: set ts=4 sw=4 et: */