Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ catread(3C) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

gencat(1)

getmsg(3C)

hpnls(5)

CATREAD(3C)  —  HP-UX

NAME

catread − MPE/RTE-style message catalog support

SYNOPSIS

int catread (fd, set_num, msg_num, msg_buf, buflen [,arg]...) 
int fd, set_num, msg_num, buflen;
char *msg_buf, *arg;

DESCRIPTION

Catread is layered on getmsg(3C) for supporting message catalog applications from MPE/RTE. Refer to the external specifications for message catalogs on these systems for use of this routine.

The message read from the catalog may have embedded formatting information in the form ![digit].  An exclamation mark followed by a digit n is replaced by the nth argument string. If exclamation marks are not numbered, they are replaced by the arguments in serial order. Either all or none must be numbered.

If successful, returns the number of non-null bytes placed in the buffer. 

DIAGNOSTICS

Catread returns a negative integer if set_num or msg_num are not found in the catalog. 

AUTHOR

Catread was developed by the Hewlett-Packard Company. 

SEE ALSO

gencat(1), getmsg(3C), hpnls(5). 

INTERNATIONAL SUPPORT

8-bit data, messages. 

Hewlett-Packard Company  —  Version B.1,  April 12, 1993

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026