~ubuntu-branches/ubuntu/intrepid/comedilib/intrepid

« back to all changes in this revision

Viewing changes to doc/man/comedi_set_buffer_size.3

  • Committer: Bazaar Package Importer
  • Author(s): David Schleef
  • Date: 2004-11-04 11:43:51 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20041104114351-a50kaei5yamka8r6
Tags: 0.7.22-2
It helps if the shared library is actually in the package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" This manpage has been automatically generated by docbook2man 
 
2
.\" from a DocBook document.  This tool can be found at:
 
3
.\" <http://shell.ipoline.com/~elmert/comp/docbook2X/> 
 
4
.\" Please send any bug reports, improvements, comments, patches, 
 
5
.\" etc. to Steve Cheng <steve@ggi-project.org>.
 
6
.TH "COMEDI_SET_BUFFER_SIZE" "3" "02 October 2004" "" ""
 
7
 
 
8
.SH NAME
 
9
comedi_set_buffer_size \- streaming buffer size of subdevice
 
10
.SH SYNOPSIS
 
11
.sp
 
12
\fB#include <comedilib.h>
 
13
.sp
 
14
int comedi_set_buffer_size (comedi_t * \fIdevice\fB, unsigned int \fIsubdevice\fB, unsigned int \fIsize\fB);
 
15
\fR
 
16
.SH "DESCRIPTION"
 
17
.PP
 
18
The function comedi_set_buffer_size() changes the size of the
 
19
streaming buffer for the subdevice specified by device and subdevice.
 
20
The parameter size must be a multiple of the virtual memory page
 
21
size.
 
22
.PP
 
23
The virtual memory page size can be determined using
 
24
sysconf(_SC_PAGE_SIZE).
 
25
.PP