Xenomai  3.0.8
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. More...
 
int a4l_sys_close (int fd)
 Close an Analogy device. More...
 
int a4l_sys_read (int fd, void *buf, size_t nbyte)
 Read from an Analogy device. More...
 
int a4l_sys_write (int fd, void *buf, size_t nbyte)
 Write to an Analogy device. More...
 
int a4l_sys_attach (int fd, a4l_lnkdesc_t *arg)
 Attach an Analogy device to a driver. More...
 
int a4l_sys_detach (int fd)
 Detach an Analogy device from a driver. More...
 
int a4l_sys_bufcfg (int fd, unsigned int idx_subd, unsigned long size)
 Configure the buffer size. More...
 

Detailed Description

Analogy for Linux, descriptor related features.

Note
Copyright (C) 1997-2000 David A. Schleef ds@sc.nosp@m.hlee.nosp@m.f.org
Copyright (C) 2008 Alexis Berlemont alexi.nosp@m.s.be.nosp@m.rlemo.nosp@m.nt@f.nosp@m.ree.f.nosp@m.r

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.