Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Functions
httpRead.c File Reference
#include <stddef.h>
#include <stdlib.h>
#include <http.h>
#include <shell.h>
#include <string.h>

Functions

devcall httpRead (device *devptr, void *buf, uint len)
 

Function Documentation

devcall httpRead ( device *  devptr,
void *  buf,
uint  len 
)

Read characters from a http.

Parameters
devptrpointer to http device
bufbuffer for read characters
lensize of the buffer
Returns
number of characters read, EOF if end of file was reached