Query: cdb_read
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
cdb_read(3) Library Functions Manual cdb_read(3)NAMEcdb_read - read bytes from a constant databaseSYNTAX#include <cdb.h> #include <uint32.h> int cdb_read(struct cdb *c,char *buf,unsigned long int len,uint32 position);DESCRIPTIONcdb_read reads len bytes starting at position from c to buf. You can use cdb_datapos or cdb_keypos to get position and cdb_datalen and cdb_keylen to get len. buf needs to point to a memory region large enough to hold len bytes.RETURN VALUEcdb_read returns 0 if everything went well, or -1 on error (setting errno appropriately.SEE ALSOcdb_find(3), cdb_init(3), cdb_free(3), cdbmake(1) cdb_read(3)
| Related Man Pages |
|---|
| buffer_get(3) - debian |
| rangecheck(3) - debian |
| socket_send6(3) - debian |
| format_bytes(9) - netbsd |
| socket_send(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| Adding the individual columns of a matrix. |
| awk or sed - Convert 2 lines to 1 line |
| How can I do this in VI editor? |
| Introduction |