Rechercher une page de manuel

Chercher une autre page de manuel:

cli

Autres langues

Langue: en

Version: $Date:$ (mandriva - 22/10/07)

Autres sections - même nom

Section: 9 (Appels noyau Linux)

NAME

cli, sti - disable/enable interrupts

SYNOPSIS

#include <asm/system.h>

extern void cli()
extern void sti()

DESCRIPTION

The cli function causes interrupts to be blocked on the host, so that following critical code may run uninterrupted. The sti function enables interrupts again.

Although it is possible to use cli/sti pairs to protect critical code, it is best to use cli with the save_flags macro. See save_flags (9).

RETURN VALUE

none

AVAILABILITY

Linux 1.0+

SEE ALSO

save_flags(9)

include/asm-*/system.h

AUTHOR

Stephen Williams (steve@icarus.com)

BUGS

The i386 ancestry of the names can be slightly confusing.
Qu'un sou quand il est assuré
Vaut mieux que cinq en espérance.
-+- Jean de La Fontaine (1621-1695),
Le Berger et la Mer (Fables IV.2) -+-