Changeset 14670bf in mainline


Ignore:
Timestamp:
2011-02-23T21:16:06Z (13 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1a6a234
Parents:
dde2c90
Message:

Add EEMPTY error code

Location:
uspace/lib/c
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/str_error.c

    rdde2c90 r14670bf  
    7777                case EAGAIN:
    7878                        return "Resource temporarily unavailable";
     79                case EEMPTY:
     80                        return "Resource is empty";
    7981                default:
    8082                        break;
  • uspace/lib/c/include/errno.h

    rdde2c90 r14670bf  
    6262#define ESTALL (-301)
    6363
     64/** Empty resource (no data). */
     65#define EEMPTY (-302)
     66
    6467/** An API function is called while another blocking function is in progress. */
    6568#define EINPROGRESS  (-10036)
Note: See TracChangeset for help on using the changeset viewer.