src/lib/error.c
changeset 19 ebcc49de97d0
parent 18 f92a24ab046e
child 34 a387bc77ad52
equal deleted inserted replaced
18:f92a24ab046e 19:ebcc49de97d0
    24     [PT_ERR_CACHE_WRITE]        = "write(.cache)",
    24     [PT_ERR_CACHE_WRITE]        = "write(.cache)",
    25     [PT_ERR_CACHE_TRUNC]        = "truncate(.cache)",
    25     [PT_ERR_CACHE_TRUNC]        = "truncate(.cache)",
    26     [PT_ERR_CACHE_MMAP]         = "mmap(.cache)",
    26     [PT_ERR_CACHE_MMAP]         = "mmap(.cache)",
    27     [PT_ERR_CACHE_RENAME_TMP]   = "rename(.tmp, .cache)",
    27     [PT_ERR_CACHE_RENAME_TMP]   = "rename(.tmp, .cache)",
    28 
    28 
       
    29     [PT_ERR_PTHREAD_CREATE]     = "pthread_create",
       
    30     [PT_ERR_CTX_SHUTDOWN]       = "pt_ctx is shutting down",
       
    31 
    29     [PT_ERR_TILE_CLIP]          = "Tile outside of image",
    32     [PT_ERR_TILE_CLIP]          = "Tile outside of image",
    30 };
    33 };
    31 
    34 
    32 const char *pt_strerror (int err)
    35 const char *pt_strerror (int err)
    33 {
    36 {