mescc: Mes C Library: Support oputs for POSIX.

* lib/libmes.c (oputs)[POSIX]: New function.
This commit is contained in:
Jan Nieuwenhuizen 2018-08-12 18:38:43 +02:00
parent bc094d0e1f
commit d93e63f743
No known key found for this signature in database
GPG key ID: F3C1A0D9C1D65273

View file

@ -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