Beispiel #1
0
/* Set errno corresponsing to GetLastError() value */
void my_osmaperr( unsigned long os_errno)
{
    /*
      set my_winerr so that we could return the Windows Error Code
      when it is EINVAL.
    */
    my_winerr = os_errno;
    errno = get_errno_from_oserr(os_errno);
}
Beispiel #2
0
/* Set errno corresponsing to GetLastError() value */
void my_osmaperr ( unsigned long oserrno)
{
    errno= get_errno_from_oserr(oserrno);
}