.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "PROC_INFO" "9" "17 July 2003" "" "" .SH NAME proc_info \- supports /proc/scsi/{driver_name}/{host_no} .SH SYNOPSIS .sp \fB .sp int proc_info (char * \fIbuffer\fB, char ** \fIstart\fB, off_t \fIoffset\fB, int \fIlength\fB, int \fIhostno\fB, int \fIwriteto1_read0\fB); \fR .SH "ARGUMENTS" .TP \fB\fIbuffer\fB\fR anchor point to output to (0==writeto1_read0) or fetch from (1==writeto1_read0). .TP \fB\fIstart\fB\fR where ``interesting'' data is written to. Ignored when 1==writeto1_read0. .TP \fB\fIoffset\fB\fR offset within buffer 0==writeto1_read0 is actually interested in. Ignored when 1==writeto1_read0 . .TP \fB\fIlength\fB\fR maximum (or actual) extent of buffer .TP \fB\fIhostno\fB\fR -- undescribed -- .TP \fB\fIwriteto1_read0\fB\fR 1 -> data coming from user space towards driver (e.g. ``echo some_string > /proc/scsi/xyz/2'') 0 -> user what data from this driver (e.g. ``cat /proc/scsi/xyz/2'') .SH "DESCRIPTION" .PP Returns length when 1==writeto1_read0. Otherwise number of chars output to buffer past offset. .SH "REQUIRED" .PP no .SH "LOCKS" .PP none held .SH "NOTES" .PP Driven from scsi_proc.c which interfaces to proc_fs .SH "DEFINED IN" .PP LLD .SH "ABOUT THIS DOCUMENT" .PP Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". .PP If you have comments on the formatting of this manpage, then please contact Michael Still (mikal@stillhq.com). .PP This documentation was generated with kernel version 2.5.71.