Various additions and fixes.

This commit is contained in:
rsc 2003-11-23 18:12:54 +00:00
parent 74f990ad84
commit fd04aacee1
57 changed files with 2176 additions and 159 deletions

View file

@ -78,3 +78,16 @@ werrstr(char *fmt, ...)
va_end(arg);
errstr(buf, ERRMAX);
}
char*
gerrstr(void)
{
char *s;
s = getsyserr();
if(errno != EPLAN9)
strcpy(s, strerror(errno));
return s;
}