fmodsw man page on SunOS

Man page or keyword search:  
man Server   20652 pages
apropos Keyword Search (all sections)
Output format
SunOS logo
[printable version]

fmodsw(9S)		  Data Structures for Drivers		    fmodsw(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  mod‐
       ule_info(9S).  f_name  should  also  match the module binary name. (See
       WARNINGS.)

       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

WARNINGS
       If f_name does not match the module binary  name,  unexpected  failures
       can occur.

SunOS 5.10			  14 Nov 2002			    fmodsw(9S)
[top]

List of man pages available for SunOS

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net