1N/A/*********************************************************************** 1N/A* This software is part of the ast package * 1N/A* Copyright (c) 2000-2010 AT&T Intellectual Property * 1N/A* and is licensed under the * 1N/A* Common Public License, Version 1.0 * 1N/A* by AT&T Intellectual Property * 1N/A* A copy of the License is available at * 1N/A* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) * 1N/A* Information and Software Systems Research * 1N/A* Glenn Fowler <gsf@research.att.com> * 1N/A***********************************************************************/ 1N/A"[-?\n@(#)$Id: msgget (AT&T Research) 2001-04-21 $\n]" 1N/A"[+NAME?msgget - get a message from a message catalog]" 1N/A"[+DESCRIPTION?\bmsgget\b gets the message corresponding to the parameters." 1N/A" If \alocale\a is \b-\b then the current locale is used. \acommand\a" 1N/A" may be specified for command specific messages. \acatalog\a specifies" 1N/A" the message catalog name. [\aset\a.]]\anumber\a identifies the message" 1N/A" by message \anumber\a and an optional message \aset\a; if specified as" 1N/A" \b-\b then the message set and number are determined by looking up" 1N/A" \atext\a in the corresponding \bC\b locale message catalog.]" 1N/A"\nlocale [command:]catalog [set.]number [ text ]\n" 1N/A"[+SEE ALSO?\biconv\b(1), \bmsgcc\b(1), \bmsggen\b(1)]" 1N/A if (!
mcfind(
loc,
cmd,
LC_MESSAGES, 0,
path,
sizeof(
path)) && (!
cat || !
mcfind(
loc,
cat,
LC_MESSAGES, 0,
path,
sizeof(
path))))