* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
* write a standard error message to the standard error output
* string will be written preceeding the standard error message
#include "../libI77/fiodefs.h"
#include "../libI77/f_errno.h"
extern char *f_errlist
[];
while (len
> 0 && *--mesg
== ' ')
if (errno
>=0 && errno
< sys_nerr
)
else if (errno
>= F_ER
&& errno
< (F_ER
+ f_nerr
))
mesg
= f_errlist
[errno
- F_ER
];
sprintf(buf
, "%d: unknown error number", errno
);
fprintf(lu
->ufd
, ": %s\n", mesg
);