Xenomai API  2.5.6.1
src/drvlib/analogy/sys.c File Reference

Analogy for Linux, descriptor related features. More...

Include dependency graph for sys.c:

Functions

int a4l_sys_open (const char *fname)
 Open an Analogy device.
int a4l_sys_close (int fd)
 Close an Analogy device.
int a4l_sys_read (int fd, void *buf, size_t nbyte)
 Read from an Analogy device.
int a4l_sys_write (int fd, void *buf, size_t nbyte)
 Write to an Analogy device.
int a4l_sys_attach (int fd, a4l_lnkdesc_t *arg)
 Attach an Analogy device to a driver.
int a4l_sys_detach (int fd)
 Detach an Analogy device from a driver.
int a4l_sys_bufcfg (int fd, unsigned int idx_subd, unsigned long size)
 Configure the buffer size.

Detailed Description

Analogy for Linux, descriptor related features.

Note:
Copyright (C) 1997-2000 David A. Schleef <[email protected]>
Copyright (C) 2008 Alexis Berlemont <[email protected]>

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines