/****************************************************************************/
/* Copyright 2016 MBARI                                                     */
/****************************************************************************/
/* Summary  : Simplified, integer-only standard I/O for OASIS5 on PIC32		*/
/* Filename : istdio.h                                                      */
/* Author   : Robert Herlien (rah)                                          */
/* Project  : OASIS Mooring Replacement (OASIS5)                            */
/* Revision: 1.0                                                            */
/* Created  : 06/28/2016                                                    */
/*                                                                          */
/* MBARI provides this documentation and code "as is", with no warranty,    */
/* express or implied, of its quality or consistency. It is provided without*/
/* support and without obligation on the part of the Monterey Bay Aquarium  */
/* Research Institute to assist in its use, correction, modification, or    */
/* enhancement. This information should not be published or distributed to  */
/* third parties without specific written permission from MBARI.            */
/*                                                                          */
/****************************************************************************/
/* Modification History:                                                    */
/* 28jun2016 rah - created                                                  */
/****************************************************************************/

#ifndef	ISTDIO_H
#define	ISTDIO_H

#include <stdarg.h>
#include <oasis.h>
#include <serial.h>
#include <utils.h>


/********************************/
/*  Function Prototypes         */
/********************************/

int iprintf(const char *format, ...);
int ivprintf(const char *fmt, va_list args);
int isprintf(char *out, const char *format, ...);
int isnprintf( char *buf, unsigned int count, const char *format, ... );
int dprintf(const char *format, ...);

#endif

