Query: msgget
OS: opensolaris
Section: 1
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
msgget(1) User Commands msgget(1)NAMEmsgget - get a message from a message catalogSYNOPSISmsgget locale [command:]catalog [set.]number [text]DESCRIPTIONmsgget gets the message corresponding to the parameters. See OPERANDS.OPERANDSThe 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 STATUS0 Successful completion. >0 An error occurred.EXAMPLESExample 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 worldAUTHORSGlenn Fowler, gsf@research.att.comATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWastdev | +-----------------------------+-----------------------------+ |Interface Stability |Volatile | +-----------------------------+-----------------------------+SEE ALSOiconv(1), msgcc(1), msggen(1), attributes(5) SunOS 5.11 9 Oct 2007 msgget(1)
Related Man Pages |
---|
msgcvt(1) - opensolaris |
catgets(3c) - opensolaris |
catgets(3c) - sunos |
gencat(1int) - ultrix |
gettxt(3c) - hpux |
Similar Topics in the Unix Linux Community |
---|
Text Modification and page I/O error |
errpt not giving a result |
msgget message queue always get permission denied |
David Korn and Glenn Fowler laid off |
Msgget(2) returns 0 - a workaround fix |