Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > B

beep(3X)

CURSES
HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

beep — audible signal

SYNOPSIS

#include <curses.h>

int beep(void);

DESCRIPTION

The beep() function alerts the user. It sounds the audible alarm on the terminal, or if that is not possible, it flashes the screen (visible bell). If neither signal is possible, nothing happens.

RETURN VALUE

The beep() function always returns OK.

ERRORS

No errors are defined.

APPLICATION USAGE

Nearly all terminals have an audible alarm, but only some can flash the screen.

SEE ALSO

flash(3X), <curses.h>.

CHANGE HISTORY

First released in X/Open Curses, Issue 2.

X/Open Curses, Issue 4

The argument list is explicitly declared as void. The RETURN VALUE section is changed to indicate that the function always returns OK. The flash() function is moved to its own entry.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.