Changeset 2498b95 in mainline for uspace/lib/bithenge/src/helenos/common.h
- Timestamp:
- 2018-06-25T15:49:26Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fbfe59d
- Parents:
- bfe90b6
- git-author:
- Jiri Svoboda <jiri@…> (2018-06-24 19:48:37)
- git-committer:
- Jiri Svoboda <jiri@…> (2018-06-25 15:49:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/bithenge/src/helenos/common.h
rbfe90b6 r2498b95 73 73 } 74 74 75 static inline void *memchr(const void *s, int c, size_t n)76 {77 for (size_t i = 0; i < n; i++)78 if (((char *)s)[i] == c)79 return (void *)(s + i);80 return NULL;81 }82 83 75 static inline errno_t bithenge_parse_int(const char *start, bithenge_int_t *result) 84 76 {
Note:
See TracChangeset
for help on using the changeset viewer.