#include "config.h"
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include <unistd.h>
Ir al código fuente de este archivo.
Clases |
struct | OsFile |
'defines' |
#define | _LARGE_FILE 1 |
#define | _FILE_OFFSET_BITS 64 |
#define | _LARGEFILE_SOURCE 1 |
#define | TEMP_FILE_PREFIX "sqlite_" |
#define | OS_MAC 0 |
#define | OS_WIN 0 |
#define | OS_UNIX 1 |
#define | SQLITE_TEMPNAME_SIZE 200 |
#define | SQLITE_MIN_SLEEP_MS 1000 |
'typedefs' |
typedef struct OsFile | OsFile |
Funciones |
int | sqliteOsDelete (const char *) |
int | sqliteOsFileExists (const char *) |
int | sqliteOsFileRename (const char *, const char *) |
int | sqliteOsOpenReadWrite (const char *, OsFile *, int *) |
int | sqliteOsOpenExclusive (const char *, OsFile *, int) |
int | sqliteOsOpenReadOnly (const char *, OsFile *) |
int | sqliteOsOpenDirectory (const char *, OsFile *) |
int | sqliteOsTempFileName (char *) |
int | sqliteOsClose (OsFile *) |
int | sqliteOsRead (OsFile *, void *, int amt) |
int | sqliteOsWrite (OsFile *, const void *, int amt) |
int | sqliteOsSeek (OsFile *, off_t offset) |
int | sqliteOsSync (OsFile *) |
int | sqliteOsTruncate (OsFile *, off_t size) |
int | sqliteOsFileSize (OsFile *, off_t *pSize) |
int | sqliteOsReadLock (OsFile *) |
int | sqliteOsWriteLock (OsFile *) |
int | sqliteOsUnlock (OsFile *) |
int | sqliteOsRandomSeed (char *) |
int | sqliteOsSleep (int ms) |
int | sqliteOsCurrentTime (double *) |
void | sqliteOsEnterMutex (void) |
void | sqliteOsLeaveMutex (void) |
char * | sqliteOsFullPathname (const char *) |
Documentación de los 'defines'
#define _FILE_OFFSET_BITS 64 |
#define _LARGEFILE_SOURCE 1 |
#define SQLITE_MIN_SLEEP_MS 1000 |
#define SQLITE_TEMPNAME_SIZE 200 |
#define TEMP_FILE_PREFIX "sqlite_" |
Documentación de los 'typedefs'
Documentación de las funciones
int sqliteOsCurrentTime |
( |
double * |
| ) |
|
int sqliteOsDelete |
( |
const char * |
| ) |
|
void sqliteOsEnterMutex |
( |
void |
| ) |
|
int sqliteOsFileExists |
( |
const char * |
| ) |
|
int sqliteOsFileRename |
( |
const char * |
, |
|
|
const char * |
|
|
) |
| |
char* sqliteOsFullPathname |
( |
const char * |
| ) |
|
void sqliteOsLeaveMutex |
( |
void |
| ) |
|
int sqliteOsOpenDirectory |
( |
const char * |
, |
|
|
OsFile * |
|
|
) |
| |
int sqliteOsOpenReadOnly |
( |
const char * |
, |
|
|
OsFile * |
|
|
) |
| |
int sqliteOsOpenReadWrite |
( |
const char * |
, |
|
|
OsFile * |
, |
|
|
int * |
|
|
) |
| |
int sqliteOsRandomSeed |
( |
char * |
| ) |
|
int sqliteOsTempFileName |
( |
char * |
| ) |
|