mescc: Mes C Library: Support oputs for POSIX.
* lib/libmes.c (oputs)[POSIX]: New function.
This commit is contained in:
parent
bc094d0e1f
commit
d93e63f743
|
@ -230,6 +230,15 @@ eputs (char const* s)
|
|||
write (STDERR, s, i);
|
||||
return 0;
|
||||
}
|
||||
|
||||
#define STDOUT 1
|
||||
int
|
||||
oputs (char const* s)
|
||||
{
|
||||
int i = strlen (s);
|
||||
write (STDOUT, s, i);
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
int
|
||||
|
|
Loading…
Reference in a new issue