HP-UX Reference (11i v2 04/09) - 3 Library Functions N-Z (vol 7)
n
napms(3X) napms(3X)
(ENHANCED CURSES)
NAME
napms — suspend the calling process
SYNOPSIS
#include <curses.h>
int napms(int ms);
DESCRIPTION
The napms() function takes at least ms milliseconds to return.
RETURN VALUE
The
napms() function returns OK.
ERRORS
No errors are defined.
APPLICATION USAGE
A more reliable method of achieving a timed delay is the
usleep() function.
SEE ALSO
delay_output(3X), usleep(2) (in the X/Open System Interfaces and Headers, Issue 4, Version 2
specification), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
Section 3−−644 Hewlett-Packard Company − 1 − HP-UX 11i Version 2: September 2004