/* ***************************************************************** *name: tclib.h *author: Samuel Igwe *date: 08/04/2013 *description: tclib (my thumb) library header. ***************************************************************** */ #ifndef TCLIB_H #define TCLIB_H #define NULL 0 #define ASCII_BS 8 #define ASCII_TAB 9 #define ASCII_LF 10 #define ASCII_CR 13 #define ASCII_ESC 27 #define ASCII_SPACE 32 #define ASCII_DEL 127 extern int tclib_atoi(unsigned char *ptrAscStr); extern void tclib_itoa(unsigned int wdValue,\ unsigned char *ptrAscStr); extern int tclib_bswap(unsigned int wdValue); extern int tclib_swap(unsigned int wdValue); extern int tclib_strlen(unsigned char *ptrStrSrc); extern int tclib_strcmp(unsigned char *ptrStrSrc,\ unsigned char *ptrStrDst); extern void tclib_memset(unsigned char *ptrString,\ unsigned int wdValue,\ unsigned int wdSize); extern void tclib_memcpy(unsigned char *ptrDstStr,\ unsigned char *ptrSrcStr,\ unsigned int wdSize); extern int tclib_acquire_semaphore(unsigned int *ptrWord); extern int tclib_release_semaphore(unsigned int *ptrWord); int tclib_getch(void); int tclib_getc(void); int tclib_gets(unsigned char *ptrString, int wdSize); void tclib_printf(char *ptrString, int wdValue); #endif
Monday, August 5, 2013
IE_tclib.h
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment