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
buffer_peekc(3) FreeBSD Library Functions Manual buffer_peekc(3)

buffer_peekc - read one char from buffer

#include <libowfat/buffer.h>

int buffer_peekc(buffer* b,char* x);

buffer_peekc(b,x) is like buffer_get(b,x,1) but without advancing the buffer pointer. If you call it again, or call buffer_getc after it, you will get the same data again.

buffer_peekc returns 1 on success, 0 when at the end of the file, or -1 if there was an I/O error (setting errno appropriately).

buffer_init(3), buffer_get(3), buffer_getc(3), buffer(3)


Search for    or go to Top of page |  Section 3 |  Main Index

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