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

Functions

int httpErrorResponse (device *devptr, short errNum)
 

Function Documentation

int httpErrorResponse ( device *  devptr,
short  errNum 
)

Formulate and write HTTP error page

Parameters
devptrpointer to the underlying device to write to
errnumthe three digit HTTP error code
Returns
0 if all went OK otherwise SYSERR