about summary refs log tree commit diff
path: root/socket/bits/types/struct_linger.h
blob: 58708e02045ed0e94f04b859e9bbb006bc16b26f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
#ifndef _BITS_TYPES_STRUCT_LINGER_H
#define _BITS_TYPES_STRUCT_LINGER_H 1

/* Structure used to manipulate the SO_LINGER option.  */
struct linger
  {
    int l_onoff;		/* Nonzero to linger on close.  */
    int l_linger;		/* Time to linger.  */
  };

#endif