Home | History | Annotate | Download | only in dist

Lines Matching defs:errno

9636 ** called to get back the underlying "errno" that caused the problem, such
15226 int iSysErrno; /* Errno value from last system error */
24697 # include <errno.h> /* amalgamator: dontcache */
30643 #include <errno.h>
30757 int lastErrno; /* The unix errno from last I/O error */
31402 if( errno==EINTR ) continue;
31507 savedErrno = errno;
31527 errno = savedErrno;
31552 do{ rc = osFtruncate(h,sz); }while( rc<0 && errno==EINTR );
31557 ** This routine translates a standard POSIX errno code into something
31879 ** It is invoked after an error occurs in an OS function and errno has been
31881 ** errno and, if possible, the human-readable equivalent from strerror() or
31898 int iErrno = errno; /* Saved syscall error number */
31902 ** equivalent to errno. Otherwise, use strerror_r().
32046 storeLastErrno(pFile, errno);
32065 do{ rc = osWrite(fd, "S", 1); }while( rc<0 && errno==EINTR );
32067 storeLastErrno(pFile, errno);
32072 storeLastErrno(pFile, errno);
32193 storeLastErrno(pFile, errno);
32224 ** to fcntl() fails. In this case, errno is set appropriately (by fcntl()).
32390 tErrno = errno;
32412 tErrno = errno;
32422 tErrno = errno;
32458 tErrno = errno;
32583 tErrno = errno;
32593 tErrno = errno;
32605 tErrno = errno;
32625 storeLastErrno(pFile, errno);
32638 storeLastErrno(pFile, errno);
32656 storeLastErrno(pFile, errno);
32915 int tErrno = errno;
32968 int tErrno = errno;
33016 do{ rc = flock(fd,op); }while( rc<0 && errno==EINTR );
33052 int tErrno = errno;
33059 int tErrno = errno;
33126 int tErrno = errno;
33236 int tErrno = errno;
33340 int rc, tErrno = errno;
33435 int tErrno = errno;
33889 ** To avoid stomping the errno value on a failed read the lastErrno value
33912 storeLastErrno((unixFile*)id, errno);
33919 if( errno==EINTR ){ got = 1; continue; }
33921 storeLastErrno((unixFile*)id, errno);
34016 do{ rc = (int)osPwrite(fd, pBuf, nBuf, iOff); }while( rc<0 && errno==EINTR );
34018 do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR);
34028 }while( rc<0 && errno==EINTR );
34034 if( rc<0 ) *piErrno = errno;
34043 ** To avoid stomping the errno value on a failed write the lastErrno value
34251 if( rc==-1 && errno==ENOTSUP ){
34345 storeLastErrno(pFile, errno);
34390 storeLastErrno(pFile, errno);
34430 storeLastErrno((unixFile*)id, errno);
34511 storeLastErrno(pFile, errno);
36652 if( isNewJrnl && errno==EACCES && osAccess(zName, F_OK) ){
36656 }else if( errno!=EISDIR && isReadWrite ){
36711 storeLastErrno(p, errno);
36790 if( errno==ENOENT
36920 if( errno!=ENOENT ){
37067 do{ got = osRead(fd, zBuf, nBuf); }while( got<0 && errno==EINTR );
37178 return errno;
37374 OSTRACE(("GETLOCKPATH failed %s errno=%d pid=%d\n",
37375 lPath, errno, osGetpid(0)));
37420 int err=errno;
37474 terrno = errno;
37475 if( fd<0 && errno==ENOENT && islockfile ){
37484 terrno = errno;
37548 int err = errno;
37610 sqlite3_snprintf(sizeof(errmsg), errmsg, "create failed (%d)", errno);
37614 sqlite3_snprintf(sizeof(errmsg), errmsg, "write failed (%d)", errno);
37618 sqlite3_snprintf(sizeof(errmsg), errmsg, "rename failed (%d)", errno);
37661 storeLastErrno(pFile, errno);
37681 storeLastErrno(pFile, errno);
37861 }while( rc==(-1) && errno==EINTR );
37863 int code = errno;
37870 int code = errno;
38114 int err = errno;
38953 DWORD lastErrno; /* The Windows errno from the last I/O error */
42366 DWORD lastErrno; /* The Windows errno from the last I/O error */
42450 OSTRACE(("SHM-LOCK file=%p, func=%s, errno=%lu, rc=%s\n",
43455 return winLogError(SQLITE_IOERR_CONVPATH, (DWORD)errno,
44209 return winLogError(SQLITE_CANTOPEN_CONVPATH, (DWORD)errno,
44231 return winLogError(SQLITE_CANTOPEN_CONVPATH, (DWORD)errno,
44582 ** GetLastError() and FormatMessage() on Windows (or errno and