CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

sysfunc.h File Reference

Common system functions. More...

#include <stdarg.h>
#include <stdio.h>
#include "csextern.h"
#include "ref.h"
#include "csstring.h"
#include "iutil/cfgfile.h"

Go to the source code of this file.

System functions

bool csDefaultRunLoop (iObjectRegistry *)
 Implements a default run-loop for stand-alone applications.
bool csPlatformStartup (iObjectRegistry *)
 Platform-specific startup.
bool csPlatformShutdown (iObjectRegistry *)
 Platform-specific shutdown.
int csPrintf (const char *str,...)
 CS version of printf.
int csPrintfV (const char *str, va_list arg)
 CS version of vprintf.
int csFPutErr (const char *str)
 CS version of fputs (<str>, stderr).
int csPrintfErr (const char *str,...)
 CS version of fprintf (stderr, str, ...).
int csPrintfErrV (const char *str, va_list arg)
 CS version of vfprintf (stderr, str, ...).
csTicks csGetTicks ()
 Get the current tick count.
void csSleep (int)
 This function will freeze your application for given number of 1/1000 seconds.
csString csGetUsername ()
 Get the username of the account running the program.
csPtr< iConfigFilecsGetPlatformConfig (const char *key)
 Get a platform-specific per-user config object.
csString csGetPlatformConfigPath (const char *key)
 Get a platform-specific path to store per-user configuration data.


Detailed Description

Common system functions.

Definition in file sysfunc.h.


Generated for Crystal Space by doxygen 1.3.9.1