Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/arg_parse.h

    r9d58539 rb7fd2a0  
    3636#define LIBC_ARG_PARSE_H_
    3737
    38 typedef int (*arg_parser)(const char *, int *);
     38#include <errno.h>
     39
     40typedef errno_t (*arg_parser)(const char *, int *);
    3941
    4042extern int arg_parse_short_long(const char *, const char *, const char *);
    41 extern int arg_parse_int(int, char **, int *, int *, int);
    42 extern int arg_parse_name_int(int, char **, int *, int *, int, arg_parser);
    43 extern int arg_parse_string(int, char **, int *, char **, int);
     43extern errno_t arg_parse_int(int, char **, int *, int *, int);
     44extern errno_t arg_parse_name_int(int, char **, int *, int *, int, arg_parser);
     45extern errno_t arg_parse_string(int, char **, int *, char **, int);
    4446
    4547#endif
Note: See TracChangeset for help on using the changeset viewer.