Max 5 API Reference
00001 /* 00002 jit.file.c 00003 Copyright 2001-2005 - Cycling '74 00004 Joshua Kit Clayton jkc@cycling74.com 00005 */ 00006 00007 #include "jit.common.h" 00008 00009 t_jit_err jit_file_fsclose(t_jit_fileref refnum) 00010 { 00011 return FSClose(refnum); 00012 } 00013 00014 t_jit_err jit_file_fsread(t_jit_fileref refnum, long *count, void *bufptr) 00015 { 00016 return FSRead(refnum,count,bufptr); 00017 } 00018 00019 t_jit_err jit_file_fswrite(t_jit_fileref refnum, long *count, const void *bufptr) 00020 { 00021 return FSWrite(refnum,count,bufptr); 00022 } 00023 00024 t_jit_err jit_file_seteof(t_jit_fileref refnum, long logeof) 00025 { 00026 return SetEOF(refnum,logeof); 00027 } 00028 00029 t_jit_err jit_file_geteof(t_jit_fileref refnum, long *logeof) 00030 { 00031 return GetEOF(refnum,logeof); 00032 } 00033 00034 t_jit_err jit_file_setfpos(t_jit_fileref refnum, long mode, long offset) 00035 { 00036 return SetFPos(refnum,mode,offset); 00037 } 00038 00039 t_jit_err jit_file_getfpos(t_jit_fileref refnum, long *filepos) 00040 { 00041 return GetFPos(refnum,filepos); 00042 }
Copyright © 2008, Cycling '74