494
Comment:
|
561
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
The Linux kernel cannot be linked to any external library. So kernel developers had to internally implement some widely used data structures like linked lists, trees and some functions like the C library ones for dealing with strings (strcpy and the like) in order to provide consistent API for the managing of all its complex data. | The Linux kernel cannot be linked to any external library. So kernel developers had to internally implement some API for the managing of data structures like linked lists, hash tables and trees. Furthermore they needed to re-implement light versions of some widely used C library functions like those that deal with strings (strcpy, strcat, et al) and with raw memory (memcpy, memset and the like). |
Parent Node : [:New Kernel Hacking HOWTO:Kernel Hacking HOWTO]
The Linux kernel cannot be linked to any external library. So kernel developers had to internally implement some API for the managing of data structures like linked lists, hash tables and trees. Furthermore they needed to re-implement light versions of some widely used C library functions like those that deal with strings (strcpy, strcat, et al) and with raw memory (memcpy, memset and the like).
[:FAQ/LinkedLists:Linked Lists]
- Hash Tables
- Radix Trees
- Red-Black Trees