xref: /illumos-gate/usr/src/man/man9s/free_rtn.9s (revision 9ee48d48fcedfa1c02bcd16d6abbbfd28b9726c1)
te
Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved.
Copyright 1989 AT&T
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.
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.
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]
FREE_RTN 9S "Nov 13, 1996"
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