Changeset 4f4b4e7 in mainline for uspace/lib/posix/strings.c
- Timestamp:
- 2011-06-15T23:38:45Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b08ef1fd
- Parents:
- ab547063
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/posix/strings.c
rab547063 r4f4b4e7 1 1 /* 2 2 * Copyright (c) 2011 Jiri Zarevucky 3 * Copyright (c) 2011 Petr Koupy 3 4 * All rights reserved. 4 5 * … … 39 40 #include "string.h" 40 41 42 /** 43 * 44 * @param i 45 * @return 46 */ 41 47 int posix_ffs(int i) 42 48 { … … 45 51 } 46 52 53 /** 54 * 55 * @param s1 56 * @param s2 57 * @return 58 */ 47 59 int posix_strcasecmp(const char *s1, const char *s2) 48 60 { … … 51 63 } 52 64 65 /** 66 * 67 * @param s1 68 * @param s2 69 * @param n 70 * @return 71 */ 53 72 int posix_strncasecmp(const char *s1, const char *s2, size_t n) 54 73 { … … 57 76 } 58 77 78 /** 79 * 80 * @param mem1 81 * @param mem2 82 * @param n 83 * @return 84 */ 59 85 int posix_bcmp(const void *mem1, const void *mem2, size_t n) 60 86 { … … 63 89 } 64 90 91 /** 92 * 93 * @param dest 94 * @param src 95 * @param n 96 */ 65 97 void posix_bcopy(const void *dest, void *src, size_t n) 66 98 { … … 69 101 } 70 102 103 /** 104 * 105 * @param mem 106 * @param n 107 */ 71 108 void posix_bzero(void *mem, size_t n) 72 109 { … … 75 112 } 76 113 114 /** 115 * 116 * @param s 117 * @param c 118 * @return 119 */ 77 120 char *posix_index(const char *s, int c) 78 121 { … … 80 123 } 81 124 125 /** 126 * 127 * @param s 128 * @param c 129 * @return 130 */ 82 131 char *posix_rindex(const char *s, int c) 83 132 { … … 87 136 /** @} 88 137 */ 89
Note:
See TracChangeset
for help on using the changeset viewer.