2005-04-21 16:53:53 +02:00
|
|
|
#include <lib.h>
|
|
|
|
#include <sys/types.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
|
2010-03-23 15:25:09 +01:00
|
|
|
void std_err(const char *s)
|
2005-04-21 16:53:53 +02:00
|
|
|
{
|
2010-03-23 15:25:09 +01:00
|
|
|
register const char *p = s;
|
2005-04-21 16:53:53 +02:00
|
|
|
|
|
|
|
while (*p != 0) p++;
|
|
|
|
write(2, s, (int) (p - s));
|
|
|
|
}
|