Changeset 5a6cc679 in mainline for uspace/lib/bithenge/src/failure.h


Ignore:
Timestamp:
2018-01-31T02:21:24Z (7 years ago)
Author:
Jenda <jenda.jzqk73@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0a9cc2
Parents:
132ab5d1
Message:

Merge commit '50f19b7ee8e94570b5c63896736c4eb49cfa18db' into forwardport

Not all ints are converted to errno_t in xhci tree yet, however it compiles and works :)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/bithenge/src/failure.h

    r132ab5d1 r5a6cc679  
    4444#include <stddef.h>
    4545
    46 int bithenge_should_fail(void);
     46errno_t bithenge_should_fail(void);
    4747void *bithenge_failure_malloc(size_t);
    4848void *bithenge_failure_realloc(void *, size_t);
    4949ssize_t bithenge_failure_read(int, void *, size_t);
    5050off_t bithenge_failure_lseek(int, off_t, int);
    51 int bithenge_failure_ferror(FILE *);
     51errno_t bithenge_failure_ferror(FILE *);
    5252char *bithenge_failure_str_ndup(const char *, size_t);
    53 int bithenge_failure_open(const char *, int);
    54 int bithenge_failure_fstat(int, struct stat *);
     53errno_t bithenge_failure_open(const char *, int);
     54errno_t bithenge_failure_fstat(int, struct stat *);
    5555
    5656#ifndef BITHENGE_FAILURE_DECLS_ONLY
Note: See TracChangeset for help on using the changeset viewer.