g_data.9 (129381) | g_data.9 (130843) |
---|---|
1.\" 2.\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" | 1.\" 2.\" Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org> 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 8 unchanged lines hidden (view full) --- 17.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, 18.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 19.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 20.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 21.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 22.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 23.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/share/man/man9/g_data.9 129381 2004-05-18 11:33:37Z le $ | 25.\" $FreeBSD: head/share/man/man9/g_data.9 130843 2004-06-21 14:11:45Z mpp $ |
26.\" 27.Dd January 16, 2004 28.Dt g_data 9 29.Os 30.Sh NAME 31.Nm g_read_data , 32.Nm g_write_data 33.Nd "read/write data from/to GEOM consumer" --- 43 unchanged lines hidden (view full) --- 77.In sys/param.h ) . 78.Pp 79The topology lock must not be held. 80.Sh RETURN VALUES 81The 82.Fn g_read_data 83function returns a pointer to a data buffer or 84.Dv NULL | 26.\" 27.Dd January 16, 2004 28.Dt g_data 9 29.Os 30.Sh NAME 31.Nm g_read_data , 32.Nm g_write_data 33.Nd "read/write data from/to GEOM consumer" --- 43 unchanged lines hidden (view full) --- 77.In sys/param.h ) . 78.Pp 79The topology lock must not be held. 80.Sh RETURN VALUES 81The 82.Fn g_read_data 83function returns a pointer to a data buffer or 84.Dv NULL |
85if an error occured. | 85if an error occurred. |
86In that case an error value is stored in the 87.Fa error 88argument unless it is 89.Dv NULL . 90.Pp 91The 92.Fn g_write_data 93function returns 0 if successful; otherwise an error code is returned. --- 22 unchanged lines hidden --- | 86In that case an error value is stored in the 87.Fa error 88argument unless it is 89.Dv NULL . 90.Pp 91The 92.Fn g_write_data 93function returns 0 if successful; otherwise an error code is returned. --- 22 unchanged lines hidden --- |