Sun Microsystems, Inc.
spacerspacer
spacer   www.sun.com docs.sun.com | | |  
spacer
black dot
   
A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z
    
 
Data Structures for Driversfmodsw(9S)


NAME

 fmodsw - STREAMS module declaration structure

SYNOPSIS

 
#include <sys/stream.h>
#include <sys/conf.h> 

INTERFACE LEVEL

 

Solaris DDI specific (Solaris DDI)

DESCRIPTION

 

The fmodsw structure contains information for STREAMS modules. All STREAMS modules must define a fmodsw structure.

f_name must match mi_idname in the module_info structure. See module_info(9S).

All modules must set the f_flag to D_MP to indicate that they safely allow multiple threads of execution. See mt-streams(9F) for additional flags.

STRUCTURE MEMBERS

 
 
char              f_name[FMNAMESZ + 1];   /* module name */
struct streamtab  *f_str;                 /* streams information */
int               f_flag;                 /* flags */

SEE ALSO

 

mt-streams(9F), modlstrmod(9S), module_info(9S)

STREAMS Programming Guide


SunOS 5.9Go To TopLast Changed 23 Feb 1994

 
      
      
Copyright 2002 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.