8 More Discussions You Might Find Interesting
1. AIX
periodically my oracle 11.2.0.1 listener process 'tnslsnr' seems to crash and disappear ( I am using an AIX 6.1 unix platform ). When this happens I am able to restart my listener ok. However when this happens there is is no stop recorded in my listener log (as there normally would be - hence why I... (1 Reply)
Discussion started by: jimthompson
1 Replies
2. Shell Programming and Scripting
Hi,
I will ftp aroung 80 files after connecting to an FTP Server. But after 2 minutes of connection, it is timed out and connection is dying. Server had a 2 minute connection timeout if connection is idle. But my question, Isn't tranfering files not considered as an activity. Is the connection... (7 Replies)
Discussion started by: vasuarjula
7 Replies
3. Post Here to Contact Site Administrators and Moderators
First of all, I want to thank everyone who runs this forum for the fine job they've done. While I myself have not yet had any need for help, I have enjoyed and learned while helping others.
Due diligence disclaimer: I searched for a discussion on this issue, using "tynt" and "copy paste", but... (11 Replies)
Discussion started by: alister
11 Replies
4. Shell Programming and Scripting
I have a perl program that I want to read from a file passed as an argument or from a pipe. If their is no pipe or arguments, I want it to output a help message. I am stuck on how to prevent perl from reading from the keyboard if it isn't fed any file names or data from a pipe. The only things I... (4 Replies)
Discussion started by: ilikecows
4 Replies
5. Shell Programming and Scripting
two things.
why doesn't the 'die' message get displayed - "Error: release log directory creation failed..."?
why does the script name and line number get displayed despite the inclusion of a '\n'. apparently adding a newline prevents this from happening.
if (! -d "$logdir") {
use... (4 Replies)
Discussion started by: mjays
4 Replies
6. UNIX for Dummies Questions & Answers
I am using SunOS 5.7
I have installed Python 2.5 via make install
Without going into details, I'd like to uninstall it and replace it with an earlier version. Maybe as far back as 2.2.3. Unfortuantely, make uninstall gives me Don't know how to make target 'uninstall'. This is thematically... (2 Replies)
Discussion started by: Dbecker
2 Replies
7. Solaris
Hi there
I have a backup script that runs every night and for some reason ive been getting in in the morning and the process has died, Is there any way I can tell when it died? if not .....would anybody recommend some scripting that i could do that would be able to tell me this information
... (3 Replies)
Discussion started by: hcclnoodles
3 Replies
8. News, Links, Events and Announcements
Mods: Delete this if you think that this is not appropriate.
I found this rather amusing. If you go to www.unix.net now you will see the OpenGroup selling license plates that read "Live Free or Die/Unix/Unix is a trademark of the OpenGroup"
(http://www.unix.net/unix_plates.html)
I just... (12 Replies)
Discussion started by: auswipe
12 Replies
catgets(3) Library Functions Manual catgets(3)
NAME
catgets - Retrieves a message from a catalog
LIBRARY
Standard C Library (libc)
SYNOPSIS
#include <nl_types.h>
char *catgets(
nl_catd cat_descriptor,
int set_number,
int message_number,
const char *string);
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
catgets(): XSH5.0
Refer to the standards(5) reference page for more information about industry standards and associated tags.
PARAMETERS
Specifies a catalog descriptor that is returned by the catopen() function. Identifies a message set. Identifies a message. In combina-
tion, the set_number and message_number identify the particular message in the catalog to retrieve. Specifies the default message string
to be returned if catgets() cannot retrieve the message from the catalog.
DESCRIPTION
The catgets() function retrieves a message from a catalog after a successful call to the catopen() function. If the catgets() function
finds the specified message, a pointer to the message text is returned. Otherwise, the function returns a pointer to the default message
string.
NOTES
The returned cat_descriptor pointer is not valid once the catclose() function has been called for that cat_descriptor.
RETURN VALUES
On successful completion, the catgets() function returns a pointer to the null terminated message string retrieved from the catalog. Oth-
erwise, the function returns a pointer to string and sets errno to indicate the error.
ERRORS
If the catgets() function fails, it sets errno to one of the following values for the reason specified: [Tru64 UNIX] Search permission is
denied for a component of the path to the message catalog or read permission is denied for the catalog.
[Tru64 UNIX] This error may occur on the first invocation of catgets(). See catopen(3) for more information. The cat_descriptor
value does not identify a message catalog that is open for reading. The cat_descriptor argument is corrupted. [Tru64 UNIX] The
process limit for open file descriptors per process has already reached OPEN_MAX.
[Tru64 UNIX] This error may occur on the first invocation of catgets(). See catopen(3) for more information. [Tru64 UNIX] The
system limit for open file descriptors has been reached. [Tru64 UNIX] The message catalog does not exist.
[Tru64 UNIX] This error may occur on the first invocation of catgets(). See catopen(3) for more information. [Tru64 UNIX] Insuf-
ficient memory is available.
[Tru64 UNIX] This error may occur on the first invocation of catgets(). See catopen(3) for more information. The message identi-
fied by set_number and message_number is not in the catalog.
RELATED INFORMATION
Functions: catopen(3), catclose(3)
Commands: dspcat(1), dspmsg(1), extract(1), gencat(1), mkcatdefs(1), strextract(1), strmerge(1), trans(1)
Others: i18n_intro(5), l10n_intro(5), standards(5)
Writing Software for the International Market delim off
catgets(3)