4 ms·
This implementation of doubly linked lists is not even exclusive to Unix-based operating systems, but also known as struct LIST_ENTRY under Windows/ReactOS and
by colinfinck 8y ago
This implementation of doubly linked lists is not even exclusive to Unix-based operating systems, but also known as struct LIST_ENTRY under Windows/ReactOS and heavily used for kernel development there. They also provide a singly linked list version as struct SINGLE_LIST_ENTRY.
Check e.g. https://docs.microsoft.com/en-us/windows/desktop/api/ntdef/ns-ntdef-_list_entry https://docs.microsoft.com/en-us/windows/desktop/api/ntdef/n... and https://git.reactos.org/?p=reactos.git&a=search&h=HEAD&st=grep&s=LIST_ENTRY https://git.reactos.org/?p=reactos.git&a=search&h=HEAD&st=gr...