Changeset 4181:3f93784086df in roaraudio


Ignore:
Timestamp:
08/14/10 15:37:03 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

added error messages

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libroar/vs.c

    r4180 r4181  
    5555  const char * msg; 
    5656 } msgs[] = { 
    57   {ROAR_ERROR_NONE,    "none"}, 
    58   {ROAR_ERROR_PERM,    "perm"}, 
    59   {ROAR_ERROR_NOENT,   "noent"}, 
    60   {ROAR_ERROR_BADMSG,  "badmsg"}, 
    61   {ROAR_ERROR_BUSY,    "busy"}, 
    62   {ROAR_ERROR_CONNREFUSED, "connrefused"}, 
    63   {ROAR_ERROR_NOSYS,   "nosys"}, 
    64   {ROAR_ERROR_NOTSUP,  "notsup"}, 
    65   {ROAR_ERROR_PIPE,    "pipe"}, 
    66   {ROAR_ERROR_PROTO,   "proto"}, 
    67   {ROAR_ERROR_RANGE,   "range"}, 
    68   {ROAR_ERROR_MSGSIZE, "msgsize"}, 
    69   {ROAR_ERROR_NOMEM,   "nomem"}, 
    70   {ROAR_ERROR_INVAL,   "inval"}, 
     57  {ROAR_ERROR_NONE,        "No error"}, 
     58  {ROAR_ERROR_PERM,        "Operation not permitted"}, 
     59  {ROAR_ERROR_NOENT,       "No such object, file or directory"}, 
     60  {ROAR_ERROR_BADMSG,      "Bad message"}, 
     61  {ROAR_ERROR_BUSY,        "Device or resource busy"}, 
     62  {ROAR_ERROR_CONNREFUSED, "Connection refused"}, 
     63  {ROAR_ERROR_NOSYS,       "Function not implemented"}, 
     64  {ROAR_ERROR_NOTSUP,      "Operation not supported"}, 
     65  {ROAR_ERROR_PIPE,        "Broken pipe"}, 
     66  {ROAR_ERROR_PROTO,       "Protocol error"}, 
     67  {ROAR_ERROR_RANGE,       "Result too large or parameter out of range"}, 
     68  {ROAR_ERROR_MSGSIZE,     "Message too long"}, 
     69  {ROAR_ERROR_NOMEM,       "Not enough space"}, 
     70  {ROAR_ERROR_INVAL,       "Invalid argument"}, 
    7171  {-1, NULL} 
    7272 }; 
Note: See TracChangeset for help on using the changeset viewer.