MAN Solaris - msgget (1)

advertisement


NAME

msgget - get a message from a message catalog

CONTENTS

Synopsis
Description
Operands
Exit Status
Examples
Authors
Attributes
See Also

SYNOPSIS

msgget locale [command:]catalog [set.]number [text]

advertisements

advertisements


DESCRIPTION

msgget gets the message corresponding to the parameters. See OPERANDS.

OPERANDS

The following operands are supported:

catalog

Specifies the message catalog name.

command

Specifies command-specific message.

locale

Specifies the locale. If locale is - then the current locale is used.

[set].number

Identifies the message by message number and an optional message set. If specified as - , the message set and number are determined by looking up text in the corresponding C locale message catalog.

text

Specifies the text of the message to be output upon error.

EXIT STATUS

0

Successful completion.

>0

An error occurred.

EXAMPLES

Example 1 Getting a Message in the Current Locale

The following example gets msg 1 in the current locale from message catalog hello:

example% msgget - hello 1
hello world

AUTHORS

Glenn Fowler, gsf@research.att.com

ATTRIBUTES

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPEATTRIBUTE VALUE
AvailabilitySUNWastdev

SEE ALSO

iconv(1), msgcc(1), msggen(1), attributes(5)

Jump to page    or go to Top of page |  Section 1 |  Main Solaris Index.


SunOS 5.11 msgget (1) 9 Oct 2007
Generated by Open Solaris Forum from /usr/share/man/man1/msgget.1 using man macros with tbl support.