1234567891011121314151617 |
- #ifndef __symbol__h__
- #define __symbol__h__
- int symbol_unit_get(const char *symbol);
- int symbol_id_get(const char *symbol);
- int period_second_get(const char *period);
- int period_id_get(const char *period);
- #if defined(MSDOS) || defined(OS2) || defined(WIN32) || defined(__CYGWIN__)
- # include <fcntl.h>
- # include <io.h>
- # define SET_BINARY_MODE(file) _setmode(_fileno(file), O_BINARY)
- #else
- # define SET_BINARY_MODE(file)
- #endif
- #endif
|