1 '\" te
   2 .\" Copyright (c) 2000, Sun Microsystems, Inc.  All Rights Reserved.
   3 .\" Copyright 1989 AT&T
   4 .\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License").  You may not use this file except in compliance with the License.
   5 .\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing.  See the License for the specific language governing permissions and limitations under the License.
   6 .\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE.  If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
   7 .TH FREE_RTN 9S "Nov 13, 1996"
   8 .SH NAME
   9 free_rtn \- structure that specifies a driver's message-freeing routine
  10 .SH SYNOPSIS
  11 .LP
  12 .nf
  13 #include <sys/stream.h>
  14 .fi
  15 
  16 .SH INTERFACE LEVEL
  17 .sp
  18 .LP
  19 Architecture independent level 1 (DDI/DKI).
  20 .SH DESCRIPTION
  21 .sp
  22 .LP
  23 The  \fBfree_rtn\fR structure is referenced by the  \fBdatab\fR structure. When
  24 \fBfreeb\fR(9F) is called to free the message, the driver's message-freeing
  25 routine (referenced through the  \fBfree_rtn\fR structure) is called, with
  26 arguments, to free the data buffer.
  27 .SH STRUCTURE MEMBERS
  28 .sp
  29 .in +2
  30 .nf
  31 void     (*free_func)()      /* user's freeing routine */
  32 char     *free_arg           /* arguments to free_func() */
  33 .fi
  34 .in -2
  35 
  36 .sp
  37 .LP
  38 The  \fBfree_rtn\fR structure is defined as type  \fBfrtn_t\fR.
  39 .SH SEE ALSO
  40 .sp
  41 .LP
  42 \fBesballoc\fR(9F), \fBfreeb\fR(9F), \fBdatab\fR(9S)
  43 .sp
  44 .LP
  45 \fISTREAMS Programming Guide\fR