Skip to content

Delays (Sleep, sleep, usleep) definitions #4

@abom

Description

@abom

It raises an error saying that there are no reference for:
sleep(), usleep()... etc

This should be resolved by including <unistd.h> in the right header files (for *nix) or <windows.h>, and check for the current OS to specify when to use <windows.h> Sleep() or <unistd.h> sleep() (or even writing a macro for that).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions