Changeset e436cfe in mainline for uspace/app/bdsh/util.c
- Timestamp:
- 2008-10-02T07:49:38Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c2ad500
- Parents:
- 119c335
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/util.c
r119c335 re436cfe 76 76 * Return -1 on failure, or the length of the copied string on success. 77 77 */ 78 int cli_redup(char **s1, const char *s2)78 size_t cli_redup(char **s1, const char *s2) 79 79 { 80 80 size_t len = strlen(s2) + 1; … … 93 93 memcpy(*s1, s2, len); 94 94 cli_errno = CL_EOK; 95 return (int)len;95 return len; 96 96 } 97 97
Note:
See TracChangeset
for help on using the changeset viewer.