unistd.h File Reference

Interface: reduced UNIX standard library. More...

#include <tm.h>
#include <time.h>
Include dependency graph for unistd.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define sleep(s)   delay(1000*(s))
 
#define msleep(s)   delay(s)
 

Functions

wakeup_t wait_event (wakeup_t(*wakeup)(wakeup_t), wakeup_t data)
 

Detailed Description

Interface: reduced UNIX standard library.

Author
Markus L. Noga marku.nosp@m.s@no.nosp@m.ga.de

Definition in file unistd.h.

Macro Definition Documentation

◆ msleep

#define msleep (   s)    delay(s)

Definition at line 123 of file unistd.h.

◆ sleep

#define sleep (   s)    delay(1000*(s))

Definition at line 122 of file unistd.h.

Function Documentation

◆ wait_event()

wakeup_t wait_event ( wakeup_t(*)(wakeup_t wakeup,
wakeup_t  data 
)
externinline

Definition at line 112 of file unistd.h.

Referenced by enter_critical_section(), and get_msg().


brickOS is released under the Mozilla Public License.
Original code copyright 1998-2005 by the authors.

Generated for brickOS Kernel Developer by doxygen 1.9.8