1995-09-11 15:31:07 +00:00
|
|
|
#include "ccommon.h"
|
|
|
|
|
|
|
|
/*
|
|
|
|
@(#) CIOResult COMMON
|
|
|
|
|
|
|
|
@(ID)
|
|
|
|
Legge il codice di errore e lo ritorna.
|
|
|
|
@(FD)
|
|
|
|
|
|
|
|
@(ISV)
|
|
|
|
res = intero contenente il codice di errore.
|
|
|
|
@(FSV)
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
2002-02-28 11:35:23 +00:00
|
|
|
int CIOResult()
|
1995-09-11 15:31:07 +00:00
|
|
|
{
|
2002-02-28 11:35:23 +00:00
|
|
|
const int res = errno;
|
|
|
|
errno = NoErr;
|
|
|
|
return res;
|
1995-09-11 15:31:07 +00:00
|
|
|
}
|