Various additions and fixes.
This commit is contained in:
parent
74f990ad84
commit
fd04aacee1
57 changed files with 2176 additions and 159 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue