'\" te .\" Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. .TH stmfFreeViewResourceList 3STMF "23 Apr 2012" "SunOS 5.11" "SCSI Target Mode Framework Library Functions" .SH NAME stmfFreeViewResourceList \- free allocated list of view resources .SH SYNOPSIS .LP .nf cc [ \fIflag\fR... ] \fIfile\fR... \fB-lstmf\fR [ \fIlibrary\fR... ] #include int stmfFreeViewResourceList(viewResourceList *\fIresourceList\fR); .fi .SH PARAMETERS .sp .ne 2 .mk .na \fB\fIresourceList\fR\fR .ad .RS 16n .rt A list of view resources previously allocated using \fBstmfGetViewResourceList\fR(3STMF) call. .RE .SH DESCRIPTION .sp .LP The \fBstmfFreeViewResourceList()\fR function frees the list of view resources that was previously allocated using \fBstmfGetViewResourceList\fR(3STMF) call. .SH RETURN VALUES .sp .LP The following values are returned: .sp .ne 2 .mk .na \fB\fBSTMF_STATUS_SUCCESS\fR\fR .ad .sp .6 .RS 4n The API call was successful. .RE .sp .ne 2 .mk .na \fB\fBSTMF_ERROR_INVALID_ARG\fR\fR .ad .sp .6 .RS 4n The passed argument is not valid. .RE .SH ATTRIBUTES .sp .LP See \fBattributes\fR(5) for descriptions of the following attributes: .sp .sp .TS tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) . ATTRIBUTE TYPEATTRIBUTE VALUE _ Interface StabilityCommitted _ MT-LevelSafe .TE .SH SEE ALSO .sp .LP \fBlibstmf\fR(3LIB), \fBstmfGetViewResourceList\fR(3STMF), \fBattributes\fR(5)