Home | History | Annotate | Download | only in orig

Lines Matching defs:errno

8582 ** called to get back the underlying "errno" that caused the problem, such
14090 int iSysErrno; /* Errno value from last system error */
23744 # include <errno.h> /* amalgamator: dontcache */
29736 #include <errno.h>
29850 int lastErrno; /* The unix errno from last I/O error */
30476 if( errno==EINTR ) continue;
30581 savedErrno = errno;
30601 errno = savedErrno;
30626 do{ rc = osFtruncate(h,sz); }while( rc<0 && errno==EINTR );
30631 ** This routine translates a standard POSIX errno code into something
30952 ** It is invoked after an error occurs in an OS function and errno has been
30954 ** errno and, if possible, the human-readable equivalent from strerror() or
30971 int iErrno = errno; /* Saved syscall error number */
30975 ** equivalent to errno. Otherwise, use strerror_r().
31117 storeLastErrno(pFile, errno);
31136 do{ rc = osWrite(fd, "S", 1); }while( rc<0 && errno==EINTR );
31138 storeLastErrno(pFile, errno);
31143 storeLastErrno(pFile, errno);
31263 storeLastErrno(pFile, errno);
31294 ** to fcntl() fails. In this case, errno is set appropriately (by fcntl()).
31460 tErrno = errno;
31482 tErrno = errno;
31492 tErrno = errno;
31528 tErrno = errno;
31652 tErrno = errno;
31662 tErrno = errno;
31674 tErrno = errno;
31694 storeLastErrno(pFile, errno);
31707 storeLastErrno(pFile, errno);
31725 storeLastErrno(pFile, errno);
31984 int tErrno = errno;
32037 int tErrno = errno;
32085 do{ rc = flock(fd,op); }while( rc<0 && errno==EINTR );
32121 int tErrno = errno;
32128 int tErrno = errno;
32195 int tErrno = errno;
32305 int tErrno = errno;
32409 int rc, tErrno = errno;
32504 int tErrno = errno;
32958 ** To avoid stomping the errno value on a failed read the lastErrno value
32981 storeLastErrno((unixFile*)id, errno);
32988 if( errno==EINTR ){ got = 1; continue; }
32990 storeLastErrno((unixFile*)id, errno);
33085 do{ rc = (int)osPwrite(fd, pBuf, nBuf, iOff); }while( rc<0 && errno==EINTR );
33087 do{ rc = (int)osPwrite64(fd, pBuf, nBuf, iOff);}while( rc<0 && errno==EINTR);
33097 }while( rc<0 && errno==EINTR );
33103 if( rc<0 ) *piErrno = errno;
33112 ** To avoid stomping the errno value on a failed write the lastErrno value
33320 if( rc==-1 && errno==ENOTSUP ){
33414 storeLastErrno(pFile, errno);
33459 storeLastErrno(pFile, errno);
33499 storeLastErrno((unixFile*)id, errno);
33580 storeLastErrno(pFile, errno);
35638 if( fd<0 && errno!=EISDIR && isReadWrite ){
35691 storeLastErrno(p, errno);
35767 if( errno==ENOENT
35897 if( errno!=ENOENT ){
36044 do{ got = osRead(fd, zBuf, nBuf); }while( got<0 && errno==EINTR );
36155 return errno;
36351 OSTRACE(("GETLOCKPATH failed %s errno=%d pid=%d\n",
36352 lPath, errno, osGetpid(0)));
36397 int err=errno;
36451 terrno = errno;
36452 if( fd<0 && errno==ENOENT && islockfile ){
36461 terrno = errno;
36525 int err = errno;
36587 sqlite3_snprintf(sizeof(errmsg), errmsg, "create failed (%d)", errno);
36591 sqlite3_snprintf(sizeof(errmsg), errmsg, "write failed (%d)", errno);
36595 sqlite3_snprintf(sizeof(errmsg), errmsg, "rename failed (%d)", errno);
36638 storeLastErrno(pFile, errno);
36658 storeLastErrno(pFile, errno);
36838 }while( rc==(-1) && errno==EINTR );
36840 int code = errno;
36847 int code = errno;
37091 int err = errno;
37930 DWORD lastErrno; /* The Windows errno from the last I/O error */
41332 DWORD lastErrno; /* The Windows errno from the last I/O error */
41416 OSTRACE(("SHM-LOCK file=%p, func=%s, errno=%lu, rc=%s\n",
42381 return winLogError(SQLITE_IOERR_CONVPATH, (DWORD)errno,
43106 return winLogError(SQLITE_CANTOPEN_CONVPATH, (DWORD)errno,
43128 return winLogError(SQLITE_CANTOPEN_CONVPATH, (DWORD)errno,
43482 ** GetLastError() and FormatMessage() on Windows (or errno and