GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LIBOWFAT_CDB_READ (3)

NAME

cdb_read - read bytes from a constant database

CONTENTS

Syntax
Description

SYNTAX

#include <cdb.h>
#include <uint32.h>

int cdb_read(struct cdb *c,char *buf,unsigned long int len,uint32 position);

DESCRIPTION

cdb_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 VALUE

cdb_read returns 0 if everything went well, or -1 on error (setting errno appropriately.

SEE ALSO

cdb_find(3), cdb_init(3), cdb_free(3), cdbmake(1)
Search for    or go to Top of page |  Section 3 |  Main Index


CDB_READ (3) -->

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.