Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #708
Difficulty: Medium
The MySQL SELECT statement allows you to read data from only a single table.
True or False?
Linux & Unix Commands - Search Man Pages

list_empty(9) [centos man page]

LIST_EMPTY(9)							    Data Types							     LIST_EMPTY(9)

list_empty - tests whether a list is empty SYNOPSIS
int list_empty(const struct list_head * head); ARGUMENTS
head the list to test. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 LIST_EMPTY(9)

Check Out this Related Man Page

SK_BUFF(9) Linux Networking STRUCT SK_BUFF(9) NAME
struct_sk_buff - socket buffer SYNOPSIS
struct sk_buff { struct sk_buff * next; struct sk_buff * prev; ktime_t tstamp; struct sock * sk; struct net_device * dev; char cb[48]; unsigned long _skb_refdst; #ifdef CONFIG_XFRM struct sec_path * sp; #endif unsigned int len; unsigned int data_len; __u16 mac_len; __u16 hdr_len; union {unnamed_union}; __be16 inner_protocol; __u16 inner_transport_header; __u16 inner_network_header; __u16 inner_mac_header; __u16 transport_header; __u16 network_header; __u16 mac_header; sk_buff_data_t tail; sk_buff_data_t end; unsigned char * head; unsigned char * data; unsigned int truesize; atomic_t users; }; MEMBERS
next Next buffer in list prev Previous buffer in list tstamp Time we arrived sk Socket we are owned by dev Device we arrived on/are leaving by cb[48] Control buffer. Free for use by every layer. Put private vars here _skb_refdst destination entry (with norefcount bit) sp the security path, used for xfrm len Length of actual data data_len Data length mac_len Length of link layer header hdr_len writable header length of cloned skb {unnamed_union} anonymous inner_protocol Protocol (encapsulation) inner_transport_header Inner transport layer header (encapsulation) inner_network_header Network layer header (encapsulation) inner_mac_header Link layer header (encapsulation) transport_header Transport layer header network_header Network layer header mac_header Link layer header tail Tail pointer end End pointer head Head of buffer data Data head pointer truesize Buffer size users User count - see {datagram,tcp}.c COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 STRUCT SK_BUFF(9)

4 More Discussions You Might Find Interesting

1. Programming

New to C... questions about this code... ADTs...

Hi, In a file called itemADT.c I have specified the itemType data type to contain a listADT (having already written this library) and an integer, which will eventually represent the no. of times the word that is stored in the listADT has occurred (when I do this, and write code to insert... (2 Replies)
Discussion started by: eva
2 Replies

2. Shell Programming and Scripting

Script running in bash 3.0 not in 3.2

I have wasted one working day writing this scripts. It compares two folders and make a good tabbed report about their differences. #!/bin/bash function DRAW_DEPTH () { ROUND=$1 while do printf %s " " ROUND=`expr $ROUND - 1` done printf %s "|- " } function MAIN () {... (9 Replies)
Discussion started by: trutoman
9 Replies

3. Programming

unidirectional linked list pointer problem

I am trying to test some operations on a directed list. However, the declaration of a pointer is giving me trouble. I seem to have done something incorrectly because I get an error: "listtest.c:29: warning: 'p' may be used uninitialized in this function" Can anyone help? This is my code... (6 Replies)
Discussion started by: bluetxxth
6 Replies

4. UNIX for Beginners Questions & Answers

Empty Directories

Please help me. How i can find empty directories in solaris?? (4 Replies)
Discussion started by: FoDeGe
4 Replies

Featured Tech Videos