---
name: "CL_System"
section: "3"
platform: "linux"
package: "clanlib0-common-dev"
version: "0.4.4-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/CL_System"
---

# CL\_System(3)

Generic functions that didn't fit in other places.

## NAME

CL\_System - Generic functions that didn't fit in other places.

## CLASS MEMBERS

- static void **keep\_alive**()

  - static void **sleep**(

  ```
  int millis)
  ```

- static unsigned int **get\_time**()

  - static void **suspend\_time**()

  - static void **resume\_time**()

  - static bool **detect\_mmx**()

  - static bool **detect\_3dnow**()

  ## MEMBERS WITH DESCRIPTIONS

- static void **keep\_alive**()

  ```
  Description:
  ```

  Checks for system events, updates input and other stuff.

- static void **sleep**(

  ```
  int millis)
  ```

  ```
  Description:
  ```

  Sleep for 'millis' milliseconds.

- static unsigned int **get\_time**()

  ```
  Description:
  ```

  Get the current time (since system boot), in milliseconds.

- static void **suspend\_time**()

  ```
  Description:
  ```

  Suspend the time. get\_time() will continue to return the same value until resume\_time() is called.

- static void **resume\_time**()

  ```
  Description:
  ```

  Resumes the time. get\_time() will return the current time again.

- static bool **detect\_mmx**()

  ```
  Description:
  ```

  Returns true if MMX technology is available on this CPU.

- static bool **detect\_3dnow**()

  ```
  Description:
  ```

  Returns true if 3DNow! technology is available on this CPU.

## SEE ALSO

All ClanLib API classes can be found in **clanlib (3)**.

## AUTHORS

Originally written by Magnus Norddahl \<*mbn@dark.x.dtu.dk*\> and Martin Starch \<*starch@dark.x.dtu.dk*\>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at **http://somewhere.in.the.world.org**).

See **clanlib (3)** to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.
