|
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_close | ( | int | fd | ) |
Close an Analogy device.
| [in] | fd | File descriptor as returned by a4l_sys_open() |
Referenced by a4l_close(), and a4l_open().
| int a4l_sys_open | ( | const char * | fname | ) |
Open an Analogy device.
| [in] | fname | Device name |
Referenced by a4l_open().
| int a4l_sys_read | ( | int | fd, | |
| void * | buf, | |||
| size_t | nbyte | |||
| ) |
Read from an Analogy device.
The function a4l_read() is only useful for acquisition configured through an Analogy command.
| [in] | fd | File descriptor as returned by a4l_sys_open() |
| [out] | buf | Input buffer |
| [in] | nbyte | Number of bytes to read |
Referenced by a4l_async_read().
| int a4l_sys_write | ( | int | fd, | |
| void * | buf, | |||
| size_t | nbyte | |||
| ) |
Write to an Analogy device.
The function a4l_write() is only useful for acquisition configured through an Analogy command.
| [in] | fd | File descriptor as returned by a4l_sys_open() |
| [in] | buf | Output buffer |
| [in] | nbyte | Number of bytes to write |
Referenced by a4l_async_write().
1.7.1