Changeset 7c3fb9b in mainline for kernel/generic/src/lib/str.c
- Timestamp:
- 2018-05-17T08:29:01Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 6ff23ff
- Parents:
- fac0ac7
- git-author:
- Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/lib/str.c
rfac0ac7 r7c3fb9b 225 225 return EINVAL; 226 226 227 /* Unsigned version of ch (bit operations should only be done 228 on unsigned types). */ 227 /* 228 * Unsigned version of ch (bit operations should only be done 229 * on unsigned types). 230 */ 229 231 uint32_t cc = (uint32_t) ch; 230 232 … … 735 737 * @param ch Character to insert to. 736 738 * @param pos Character index where to insert. 737 @@param max_pos Characters in the buffer.739 * @param max_pos Characters in the buffer. 738 740 * 739 741 * @return True if the insertion was sucessful, false if the position … … 934 936 return EINVAL; 935 937 936 /* Check whether we are at the end of 937 the string in strict mode */ 938 /* 939 * Check whether we are at the end of 940 * the string in strict mode 941 */ 938 942 if ((strict) && (*lendptr != 0)) 939 943 return EINVAL;
Note:
See TracChangeset
for help on using the changeset viewer.