namespace mrpt::system::os

Overview

namespace os {

// global functions

int sprintf(char* buf, size_t bufSize, const char* format, ...);
int int vsprintf(char* buf, size_t bufSize, const char* format, va_list args);
int vsnprintf(char* buf, size_t bufSize, const char* format, va_list args);
FILE* fopen(const char* fileName, const char* mode);
FILE* fopen(const std::string& fileName, const char* mode);
int fprintf(FILE* fil, const char* format, ...);
int void fclose(FILE* f);
char* strcat(char* dest, size_t destSize, const char* source);
char* strcpy(char* dest, size_t destSize, const char* source);
int _strcmp(const char* str1, const char* str2);
int _strcmpi(const char* str1, const char* str2);
int _strncmp(const char* str, const char* subStr, size_t count);
int _strnicmp(const char* str, const char* subStr, size_t count);
int64_t _strtoll(const char* nptr, char** endptr, int base);
uint64_t _strtoull(const char* nptr, char** endptr, int base);
time_t timegm(struct tm* tm);
void memcpy(void* dest, size_t destSize, const void* src, size_t copyCount);
int getch();
bool kbhit();

} // namespace os