Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

iofunc.c File Reference

Detailed Description

Generic file-based IO functions.

Definition in file iofunc.c.

#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <sys/time.h>
#include <sys/types.h>
#include "hamlib/rig.h"
#include "iofunc.h"
#include "misc.h"

Go to the source code of this file.


int HAMLIB_API read_block (hamlib_port_t *p, char *rxbuffer, size_t count)
 Read bytes from an fd.
int HAMLIB_API read_string (hamlib_port_t *p, char *rxbuffer, size_t rxmax, const char *stopset, int stopset_len)
 Read a string from an fd.
int HAMLIB_API write_block (hamlib_port_t *p, const char *txbuffer, size_t count)
 Write a block of characters to an fd.

Generated by  Doxygen 1.6.0   Back to index