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 Driversfree_rtn(9S)


NAME

 free_rtn - structure that specifies a driver's message-freeing routine

SYNOPSIS

 
#include <sys/stream.h> 

INTERFACE LEVEL

 

Architecture independent level 1 (DDI/DKI).

DESCRIPTION

 

The free_rtn structure is referenced by the datab structure. When freeb(9F) is called to free the message, the driver's message-freeing routine (referenced through the free_rtn structure) is called, with arguments, to free the data buffer.

STRUCTURE MEMBERS

 
 
void     (*free_func)()      /* user's freeing routine */
char     *free_arg           /* arguments to free_func() */

The free_rtn structure is defined as type frtn_t.

SEE ALSO

 

esballoc(9F), freeb(9F), datab(9S)

STREAMS Programming Guide


SunOS 5.9Go To TopLast Changed 13 Nov 1996

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