Print this page
3484 enhance and document tail follow support
Reviewed by: Joshua M. Clulow <jmc@joyent.com>

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/common/sys/port.h
          +++ new/usr/src/uts/common/sys/port.h
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
       27 +/*
       28 + * Copyright (c) 2013, Joyent, Inc. All rights reserved.
       29 + */
       30 +
  27   31  #ifndef _SYS_PORT_H
  28   32  #define _SYS_PORT_H
  29   33  
  30      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  31      -
  32   34  #ifdef  __cplusplus
  33   35  extern "C" {
  34   36  #endif
  35   37  
  36   38  #include <sys/types.h>
  37   39  
  38   40  /* port sources */
  39   41  #define PORT_SOURCE_AIO         1
  40   42  #define PORT_SOURCE_TIMER       2
  41   43  #define PORT_SOURCE_USER        3
↓ open down ↓ 57 lines elided ↑ open up ↑
  99  101  /*
 100  102   * PORT_SOURCE_FILE - events
 101  103   */
 102  104  
 103  105  /*
 104  106   * User watchable file events
 105  107   */
 106  108  #define FILE_ACCESS             0x00000001
 107  109  #define FILE_MODIFIED           0x00000002
 108  110  #define FILE_ATTRIB             0x00000004
      111 +#define FILE_TRUNC              0x00100000
 109  112  #define FILE_NOFOLLOW           0x10000000
 110  113  
 111  114  /*
 112  115   * exception file events
 113  116   */
 114  117  
 115  118  /*
 116  119   * The watched file..
 117  120   */
 118  121  #define FILE_DELETE             0x00000010
↓ open down ↓ 24 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX