OLD | NEW |
1 /* This Source Code Form is subject to the terms of the Mozilla Public | 1 /* This Source Code Form is subject to the terms of the Mozilla Public |
2 * License, v. 2.0. If a copy of the MPL was not distributed with this | 2 * License, v. 2.0. If a copy of the MPL was not distributed with this |
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ | 3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ |
4 | 4 |
5 #ifdef DEBUG | |
6 static const char CVS_ID[] = "@(#) $RCSfile$ $Revision$ $Date$"; | |
7 #endif /* DEBUG */ | |
8 | |
9 /* | 5 /* |
10 * libc.c | 6 * libc.c |
11 * | 7 * |
12 * This file contains our wrappers/reimplementations for "standard" | 8 * This file contains our wrappers/reimplementations for "standard" |
13 * libc functions. Things like "memcpy." We add to this as we need | 9 * libc functions. Things like "memcpy." We add to this as we need |
14 * it. Oh, and let's keep it in alphabetical order, should it ever | 10 * it. Oh, and let's keep it in alphabetical order, should it ever |
15 * get large. Most string/character stuff should be in utf8.c, not | 11 * get large. Most string/character stuff should be in utf8.c, not |
16 * here. This file (and maybe utf8.c) should be the only ones in | 12 * here. This file (and maybe utf8.c) should be the only ones in |
17 * NSS to include files with angle brackets. | 13 * NSS to include files with angle brackets. |
18 */ | 14 */ |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
159 *statusOpt = PR_SUCCESS; | 155 *statusOpt = PR_SUCCESS; |
160 } | 156 } |
161 | 157 |
162 v = memcmp(a, b, len); | 158 v = memcmp(a, b, len); |
163 return (PRInt32)v; | 159 return (PRInt32)v; |
164 } | 160 } |
165 | 161 |
166 /* | 162 /* |
167 * offsetof is a preprocessor definition | 163 * offsetof is a preprocessor definition |
168 */ | 164 */ |
OLD | NEW |