I'm receiving an exit code 64 in our batch scheduler (BMC product control-m) executing a PERL script on UX-HP. Can you tell me where I can find a list of exit codes and their meaning. I'm assuming the exit code is from the Unix operating system not PERL. (3 Replies)
Hi
even though I use exit in my first scripts, I am not sure exactly about exit codes.I know there is a relation between return and exit codes, exit 0 means it returned a 0 to indicate there is no error at the end of this point.
But what does it mean:
exit 1 , probably there was an error, OK... (2 Replies)
When I want to close my session I can use exit or logout, and a lot of manuals use both of them indistinctly. So, Is there any difference between exit or logout?? Or are both of them exactly the same command??
I forgot to mention that I am using a RedHat Unix.
Thanks for your help.
Kinai. (1 Reply)
I am running HP-UX & ksh
I have several validation programs that scan log files for error messages.
One of these files scan 3 diff files, thus I have the exit value in a variable and depending on which log-file I am scanning the value changes.
I am not getting the value I expect but a... (1 Reply)
HI
I am just using cd Command and i want exit if error.
Ex.
cd /hp/pp/0720
If above folder in not available then stop the script
Folder is change every day
Thanks (3 Replies)
Hi
In one of the script I am seeing some thing like exit 7,exit 1,exit 2,exit 3,exit 9,exit6.What is the difference between all of this exit.Can anyone help here please (3 Replies)
Discussion started by: ginrkf
3 Replies
LEARN ABOUT DEBIAN
krb5_get_krb_admin_hst
KRB5_GET_KRBHST(3) BSD Library Functions Manual KRB5_GET_KRBHST(3)NAME
krb5_get_krbhst, krb5_get_krb_admin_hst, krb5_get_krb_changepw_hst, krb5_get_krb524hst, krb5_free_krbhst -- lookup Kerberos KDC hosts
LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5)
SYNOPSIS
#include <krb5.h>
krb5_error_code
krb5_get_krbhst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_get_krb_admin_hst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_get_krb_changepw_hst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_get_krb524hst(krb5_context context, const krb5_realm *realm, char ***hostlist);
krb5_error_code
krb5_free_krbhst(krb5_context context, char **hostlist);
DESCRIPTION
These functions implement the old API to get a list of Kerberos hosts, and are thus similar to the krb5_krbhst_init() functions. However,
since these functions returns all hosts in one go, they potentially have to do more lookups than necessary. These functions remain for com-
patibility reasons.
After a call to one of these functions, hostlist is a NULL terminated list of strings, pointing to the requested Kerberos hosts. These should
be freed with krb5_free_krbhst() when done with.
EXAMPLES
The following code will print the KDCs of the realm ``MY.REALM''.
char **hosts, **p;
krb5_get_krbhst(context, "MY.REALM", &hosts);
for(p = hosts; *p; p++)
printf("%s
", *p);
krb5_free_krbhst(context, hosts);
SEE ALSO krb5_krbhst_init(3)HEIMDAL April 24, 2005 HEIMDAL