list_first_entry(9) suse man page | unix.com

Man Page: list_first_entry

Operating Environment: suse

Section: 9

LIST_FIRST_ENTRY(9)						    Data Types						       LIST_FIRST_ENTRY(9)

NAME
list_first_entry - get the first element from a list
SYNOPSIS
list_first_entry(ptr, type, member);
ARGUMENTS
ptr the list head to take the element from. type the type of the struct this is embedded in. member the name of the list_struct within the struct.
DESCRIPTION
Note, that list is expected to be not empty.
COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 LIST_FIRST_ENTRY(9)
Related Man Pages
list(3) - debian
libtalloc_destructors(3) - centos
pcap_findalldevs(3pcap) - centos
pcap_freealldevs(3pcap) - centos
pcap_freealldevs(3pcap) - suse
Similar Topics in the Unix Linux Community
Change directory error
Grant unprivileged user rights to see the output of echo|format but not modify disks
Migrating to UNIX
Cut command on RHEL 6.8 compatibility issues
A (ksh) Library For and From UNIX.com