[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]

Technical Reference: Base Operating System and Extensions , Volume 2


killchar or killwchar Subroutine

Purpose

Terminal environment query functions.

Library

Curses Library (libcurses.a)

Syntax

#include <curses.h>

char killchar(void);

int killwchar(wchar_t *ch);

Description

The killchar subroutine returns the current line.

The killchar subroutine stores the current line kill character in the object pointed to by ch. If no line kill character has been defined, the subroutine will fail and the object pointed to by ch will not be changed.

Parameters

*ch

Return Values

The killchar subroutine returns the line kill character. The return value is unspecified when this character is a multi-byte character.

Upon successful completion, the killchar subroutine returns OK. Otherwise, it returns ERR.

Implementation Specifics

This subroutine is part of Base Operating System (BOS) Runtime.

Related Information

Curses Overview for Programming in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.

List of Curses Subroutines in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs.

Portability with Curses in AIX 5L Version 5.1 General Programming Concepts: Writing and Debugging Programs describes how to query baud rate, set user-defined characters, and flush type-ahead characters.


[ Previous | Next | Table of Contents | Index | Library Home | Legal | Search ]