1 FREE_RTN(9S)              Data Structures for Drivers             FREE_RTN(9S)
   2 
   3 NAME
   4      free_rtn - structure that specifies a driver's message-freeing routine
   5 
   6 SYNOPSIS
   7      #include <sys/stream.h>
   8 
   9 INTERFACE LEVEL
  10      Architecture independent level 1 (DDI/DKI).
  11 
  12 DESCRIPTION
  13      The free_rtn structure is referenced by the datab structure.  When
  14      freeb(9F) is called to free the message, the driver's message-freeing
  15      routine (referenced through the free_rtn structure) is called, with
  16      arguments, to free the data buffer.
  17 
  18 STRUCTURE MEMBERS
  19        void     (*free_func)()      /* user's freeing routine */
  20        char     *free_arg           /* arguments to free_func() */
  21 
  22      The free_rtn structure is defined as type frtn_t.
  23 
  24 SEE ALSO
  25      esballoc(9F), freeb(9F), datab(9S)
  26 
  27      STREAMS Programming Guide.
  28 
  29 illumos                          July 9, 2018                          illumos