HP-UX Reference (11i v1 05/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
usleep(2), (in the X/Open System Interfaces and Headers, Issue 4, Version 2 specification),
delay_output(3X), <curses.h>.
CHANGE HISTORY
First released in X/Open Curses, Issue 4.
Section 3574 Hewlett-Packard Company 1 HP-UX 11i Version 1: September 2005