函数源码 |
Source File:security\apparmor\lib.c |
Create Date:2022-07-27 21:27:28 |
首页 | Copyright©Brick |
65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 | /** * skipn_spaces - Removes leading whitespace from @str. * @str: The string to be stripped. * * Returns a pointer to the first non-whitespace character in @str. * if all whitespace will return NULL */ const char *skipn_spaces( const char *str, size_t n) { for (; n && isspace (*str); --n) ++str; if (n) return ( char *)str; return NULL; } |