aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/string.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2004-05-01[PATCH] add missing #includeDenis Vlasenko1-0/+1
There's a subtle problem with "inline" usage in <linux/string.h>: <linux/string.h>: this pulls in __constant_c_and_count_memset() <linux/mm.h>: this pulls <compiler.h>, re-defining inline == __inline__ __attribute__((always_inline)). But by now it is too late! The compiler has already seen the bare "inline" in string.h, and hasn't inlined it. Result: # grep __constant System.map c0144670 t __constant_c_and_count_memset c0145c60 t __constant_c_and_count_memset ... many more copies of this function ... Fixed by including <compiler.h> early enough.
2004-02-05[NET]: Support for lots of netdevs -- faster dev_alloc_nameStephen Hemminger1-0/+3
Convert dev_alloc_name from O(n^2) lookup to O(n) by using a page as bitmap to figure out how many devices of that pattern have been allocated. This works for up to 32k devices (PAGE_SIZE*8) on i386, more on other platforms. Correctly handles the boundary cases where number of devices won't fit because name length is limited. Adds strnchr to the string libraries since we need to find the % format character, but only care if it is in the first 15 bytes.
2003-05-25Do a strlcat() to go with the strlcpy().Linus Torvalds1-0/+3
2003-05-24Add 'strlcpy()' implementationLinus Torvalds1-0/+3
2002-11-16[PATCH] add strcspn() library functionRusty Russell1-1/+1
This patch implements a generic strcspn.
2002-04-02[PATCH] Remove last remaining bits of strtok.Dave Jones1-2/+0
2002-02-04v2.4.3.7 -> v2.4.3.8Linus Torvalds1-0/+5
- Al Viro: fix d_flags race between low-level fs and VFS layer. - David Miller: sparc updates - S390 update
2002-02-04Import changesetLinus Torvalds1-0/+83