Sets up soft function-key labels.
Curses Library (libcurses.a)
#include <curses.h> slk_set(LabNum, LabStr, LabFmt) int LabNum; char *LabStr; int LabFmt;
The slk_set subroutine sets up each soft function-key label with the appropriate name. These labels appear at the bottom of the screen and give applications, such as editors, a more user-friendly look. Label names are restricted to 8 characters each.
|LabNum||Specifies the label number. The value can range from 1 to 8.|
|LabStr||Specifies the string (name) to put on the label. If the string is NULL, the label is blank.|
|LabFmt|| Specifies the label alignment. The following values are valid:
slk_set(2, "Quit", 1);
This subroutine is part of Base Operating System (BOS) Runtime.
The slk_init routine.
Curses Overview for Programming, List of Curses Subroutines, Manipulating Video Attributes in AIX Version 4.3 General Programming Concepts: Writing and Debugging Programs.