fmodsw(9s) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

fmodsw(9s)

Kernel & Driver Data Structures                                     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.



Oracle Solaris 11.4               14 Nov 2002                       fmodsw(9S)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3