Changes in uspace/lib/c/generic/arg_parse.c [b7fd2a0:9d58539] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/arg_parse.c
rb7fd2a0 r9d58539 65 65 * 66 66 */ 67 errno_t arg_parse_int(int argc, char *argv[], int *index, int *value,67 int arg_parse_int(int argc, char *argv[], int *index, int *value, 68 68 int offset) 69 69 { … … 105 105 * 106 106 */ 107 errno_t arg_parse_name_int(int argc, char *argv[], int *index, int *value,107 int arg_parse_name_int(int argc, char *argv[], int *index, int *value, 108 108 int offset, arg_parser parser) 109 109 { 110 110 char *arg; 111 111 112 errno_t ret = arg_parse_string(argc, argv, index, &arg, offset);112 int ret = arg_parse_string(argc, argv, index, &arg, offset); 113 113 if (ret != EOK) 114 114 return ret; … … 135 135 * 136 136 */ 137 errno_t arg_parse_string(int argc, char **argv, int *index, char **value,137 int arg_parse_string(int argc, char **argv, int *index, char **value, 138 138 int offset) 139 139 {
Note:
See TracChangeset
for help on using the changeset viewer.