Main Page | Modules | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

BSstdio.h File Reference

#include <stddef.h>
#include <Datatypes.h>

Defines

#define PARTITION_MARKER   ':'
#define DIR_SEPARATOR   '\\'
#define DIR_SEPARATOR_STR   "\\"
#define EOF   (-1)
#define SEEK_SET   0
#define SEEK_CUR   1
#define SEEK_END   2
#define BUFSIZ   512

Functions

BS_FILEbs_fopen (const char *fname, const char *mode)
 corresponds to the classical fopen function from <stdio.h>
int bs_fclose (BS_FILE *stream)
 corresponds to the classical fclose function from <stdio.h>
int bs_feof (BS_FILE *stream)
 corresponds to the classical feof function from <stdio.h>
int bs_fread (void *buffer, size_t size, size_t num, BS_FILE *stream)
 corresponds to the classical fread function from <stdio.h>
int bs_fwrite (const void *buffer, size_t size, size_t count, BS_FILE *stream)
 corresponds to the classical fwrite function from <stdio.h>
int bs_fputc (int ch, BS_FILE *stream)
 corresponds to the classical fputc function from <stdio.h>
int bs_fgetc (BS_FILE *stream)
 corresponds to the classical fgetc function from <stdio.h>
char * bs_fgets (char *s, int n, BS_FILE *stream)
 corresponds to the classical fgets function from <stdio.h>
int bs_fseek (BS_FILE *stream, long offset, int origin)
 corresponds to the classical fseek function from <stdio.h>
int bs_fdelete (const char *pa_acFilename)
 deletes a file
int bs_chdir (const char *pa_acDirectory)
 changes the current working directory.
int bs_mkdir (const char *pa_acDirectory)
int bs_rmdir (const char *pa_acDirectory)
bool expandFullPath (char *pa_acTarget, bool pa_bIncludePartition)
int bs_findfirst (const char *pathname, T_FF_INFO *ffblk, int attrib)
int bs_findnext (T_FF_INFO *ffblk)
int bs_findclose (T_FF_INFO *ffblk)
int bs_getchar (void)
int bs_putchar (int ch)
int bs_printf (const char *sFormat,...)
int bs_fprintf (BS_FILE *stream, const char *sFormat,...)

Define Documentation

#define BUFSIZ   512
 

#define DIR_SEPARATOR   '\\'
 

#define DIR_SEPARATOR_STR   "\\"
 

#define EOF   (-1)
 

#define PARTITION_MARKER   ':'
 

#define SEEK_CUR   1
 

#define SEEK_END   2
 

#define SEEK_SET   0
 


Function Documentation

int bs_chdir const char *  pa_acDirectory  ) 
 

changes the current working directory.

int bs_fclose BS_FILE stream  ) 
 

corresponds to the classical fclose function from <stdio.h>

int bs_fdelete const char *  pa_acFilename  ) 
 

deletes a file

int bs_feof BS_FILE stream  ) 
 

corresponds to the classical feof function from <stdio.h>

int bs_fgetc BS_FILE stream  ) 
 

corresponds to the classical fgetc function from <stdio.h>

char* bs_fgets char *  s,
int  n,
BS_FILE stream
 

corresponds to the classical fgets function from <stdio.h>

int bs_findclose T_FF_INFO ffblk  ) 
 

int bs_findfirst const char *  pathname,
T_FF_INFO ffblk,
int  attrib
 

int bs_findnext T_FF_INFO ffblk  ) 
 

BS_FILE* bs_fopen const char *  fname,
const char *  mode
 

corresponds to the classical fopen function from <stdio.h>

int bs_fprintf BS_FILE stream,
const char *  sFormat,
  ...
 

int bs_fputc int  ch,
BS_FILE stream
 

corresponds to the classical fputc function from <stdio.h>

int bs_fread void *  buffer,
size_t  size,
size_t  num,
BS_FILE stream
 

corresponds to the classical fread function from <stdio.h>

int bs_fseek BS_FILE stream,
long  offset,
int  origin
 

corresponds to the classical fseek function from <stdio.h>

int bs_fwrite const void *  buffer,
size_t  size,
size_t  count,
BS_FILE stream
 

corresponds to the classical fwrite function from <stdio.h>

int bs_getchar void   ) 
 

int bs_mkdir const char *  pa_acDirectory  ) 
 

int bs_printf const char *  sFormat,
  ...
 

int bs_putchar int  ch  ) 
 

int bs_rmdir const char *  pa_acDirectory  ) 
 

bool expandFullPath char *  pa_acTarget,
bool  pa_bIncludePartition
 


Generated on Thu Mar 2 16:11:29 2006 for VDK Blacksheep by  doxygen 1.4.1