05-05-2014
If you use NIM server, then it is the answer.
10 More Discussions You Might Find Interesting
1. UNIX Desktop Questions & Answers
Would it be possible to install AIX ver 4.3.3 on a Pc so I can Practice commands and become familiar with the system? Is there anything special that i would have to do?
Thanks
Frank (1 Reply)
Discussion started by: wumagic
1 Replies
2. Solaris
Hi,
I need to locate the Solaris package that installs the en_GB.UTF-8 package in /usr/lib/locale.
Can anyone tell me which package it is?
I have installed all the locale related packages i can see from the Solrais 8 media but none contain the required locale.
My problem is that i can... (1 Reply)
Discussion started by: kitzel
1 Replies
3. AIX
Hi,
I need to install the package bos.loc.iso.en_GB on an AIX 5.3 server but try as I might I cannot find the file which contains this package.
I have all the AIX 5.3 CDs and also the majority of the packages installed locally on the server. If I create a .toc file from the local packages I... (3 Replies)
Discussion started by: m223464
3 Replies
4. AIX
I'm trying to install sudo on AIX 5.3. I don't have a compiler on my machine, so I was trying to find a binary. The one found at http://www.bullfreeware.com/listaix52.html that is supposed to work for 5.3 even though it was compiled on 5.2. The issue is I'm new to AIX and could not figure out how... (3 Replies)
Discussion started by: sphericon
3 Replies
5. AIX
Hi,
I want to install gcc-4.2.3-hppa-11.11.depot in AIX 5.3...
In HP-UX we have a command swinstall to via UI we can install depots...
so is there any command to install depots in AIX?
Thanks, (3 Replies)
Discussion started by: meeraramanathan
3 Replies
6. AIX
Dear Friends,
Please help me out to install fonts in AIX.
I am new to AIX.
Thanks in advance.
Regards,
dba (2 Replies)
Discussion started by: aix.dba
2 Replies
7. AIX
Hello everyone!
I have a problem with printing ru_RU.UTF-8 from AIX using lp command.
#locale -a
C
POSIX
RU_RU.UTF-8
RU_RU
en_US.8859-15
en_US.ISO8859-1
en_US
ru_RU.ISO8859-5
ru_RU
#locale
LANG=en_US.UTF-8
LC_COLLATE=RU_RU.UTF-8
LC_CTYPE=RU_RU.UTF-8
LC_MONETARY="en_US" (3 Replies)
Discussion started by: burnAF
3 Replies
8. AIX
Hello,
I'm trying to install AIX 7.1 on a machine. Unfortunately I forgot to load volume 2 DVD, but the server works fine. Was wondering, what all the contents will be in volume 2?
And I tried loading it after the complete reboot but the blade is not recognizing the volume2 DVD.
Please let... (6 Replies)
Discussion started by: pjeedu2247
6 Replies
9. Linux
Hi,
I have tried to convert a UTF-8 file to windows UTF-16 format file as below from unix machine
unix2dos < testing.txt | iconv -f UTF-8 -t UTF-16 > out.txt
and i am getting some chinese characters as below which l opened the converted file on windows machine.
LANG=en_US.UTF-8... (3 Replies)
Discussion started by: phanidhar6039
3 Replies
10. UNIX for Beginners Questions & Answers
Dears,
I have a shell script - working perfectly on Oracle Linux - that detects the encoding (the charset to be exact) of the files in a specified directory using the "file" command (The file command outputs the charset in Linux, but doesn't do that in AIX), then if the file isn't a UTF-8 text... (4 Replies)
Discussion started by: JeanM-1
4 Replies
LEARN ABOUT OSF1
res_search
res_search(3) Library Functions Manual res_search(3)
NAME
res_search, res_query - Queries domain server and checks response
LIBRARY
Standard C Library (libc.a, libc.so)
SYNOPSIS
#include <sys/types.h> #include <netinet/in.h> #include <arpa/nameser.h> #include <resolv.h>
int res_search ( const char *domain_name, int class, int type, u_char *answer, int answer_len;)
The res_query syntax is as follows: int res_query ( const char *domain_name, int class, int type, u_char *answer,
int answer_len;)
PARAMETERS
Points to the fully-qualified name of the domain. If the domain_name parameter points to a single label and the RES_DEFNAMES bit is set,
as it is by default, the function appends domain_name to the current domain name. The current domain name is defined by the name server in
use or in the /etc/resolv.conf file. Specifies one of the following parameters: Specifies the ARPA Internet. Specifies the Chaos network
at MIT. Requires one of the following values: Host address Authoritative server Mail destination Mail forwarder Canonical name Start of
authority zone Mailbox domain name Mail group member Mail rename name NULL resource record Well known service Domain name pointer Host
information Mailbox information Mail routing information User (finger) information User ID Group ID Points to a location of the server's
reply. Specifies the length of the answer pointed to by the answer parameter.
DESCRIPTION
The res_search() and res_query() functions construct a query, send it to the local server, and await a response. In addition, res_search()
implements the default and search rules specified by the RES_DEFNAMES and RES_DNSRCH resolver options. The function returns the first suc-
cessful reply.
The res_search() and res_query() functions part of a set of subroutines that form the resolver, a set of functions that resolve domain
names. Global information that is used by the resolver functions is kept in the _res data structure. The /include/resolv.h file contains
the _res data structure definition.
RETURN VALUES
Upon successful completion, the res_search() function returns the size of the answer. If the answer is larger than the value of the
answer_len parameter, the function fails and returns a value of -1.
ERRORS
If an error occurs during a resolver operation, the h_errno external variable is set. Error code values and reasons are defined in
<netdb.h>.
FILES
Contains the name server and domain name.
RELATED INFORMATION
Functions: dn_comp(3), dn_expand(3), dn_find(3), dn_skipname(3), _getlong(3), _getshort(3), putlong(3), putshort(3), res_init(3),
res_mkquery(3), res_query(3), res_send(3). delim off
res_search(3)