HPlogo HP-UX Reference Volume 4 of 5 > n

napms(3X)

ENHANCED CURSES
» 

Technical documentation

Complete book in PDF

 » Table of Contents

 » Index

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.

© Hewlett-Packard Development Company, L.P.