| /* -*- linux-c -*- ------------------------------------------------------- * |
| * Copyright (C) 1991, 1992 Linus Torvalds |
| * Copyright 2007 rPath, Inc. - All Rights Reserved |
| * This file is part of the Linux kernel, and is made available under |
| * the terms of the GNU General Public License version 2. |
| * ----------------------------------------------------------------------- */ |
| * Very basic string functions |
| int strcmp(const char *str1, const char *str2) |
| const unsigned char *s1 = (const unsigned char *)str1; |
| const unsigned char *s2 = (const unsigned char *)str2; |
| size_t strnlen(const char *s, size_t maxlen) |
| unsigned int atou(const char *s) |
| i = i * 10 + (*s++ - '0'); |