04-27-2008
No one can give me an advice?
7 More Discussions You Might Find Interesting
1. Programming
how does exec() do it? on successful call of exec() family of functions, they never return...
how to i emulate that.
assume the standard example,
execl("/bin/ls","ls",NULL);
now this would never return.
i m trying to emulate exec()'s never to return feature...
#include<unistd.h>... (4 Replies)
Discussion started by: c_d
4 Replies
2. Solaris
Had to reboot over 30 servers out of 70 or so during out of family code load. Still searching but may all have VxVM 3.5 in common. Our last window had similar outcome but on HPUX. I think it has to do with time outs and volume manager is offlining the devices. This just started happening. Anyone... (0 Replies)
Discussion started by: GaryP
0 Replies
3. UNIX for Dummies Questions & Answers
hello
is there a family tree, or words that would illustrate the family tree of,
Unix -> Linux
As i would understand Unix, it is a OS.
And Linux is a ?, is Linux a OS or a sub structure inside of the Unix OS ?.
Have you ever seen one of those family tree`s where ma and pa are shown at... (3 Replies)
Discussion started by: cowLips
3 Replies
4. Programming
Hi,
I am studying exec family of functions.Its man page says,it replaces the current process image with a new process image. If it replaces the binary,then after returning back,how does it get the previous parameters of the process which called exec?As replacing process image means replacing all... (1 Reply)
Discussion started by: Radha.Krishna
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I am studying exec family of functions.Its man page says,it replaces the current process image with a new process image. If it replaces the binary,then after returning back,how does it get the previous parameters of the process which called exec?As replacing process image means replacing... (5 Replies)
Discussion started by: Radha.Krishna
5 Replies
6. AIX
Folks,
Again a very silly question :D Could someone tell me, how to determine the power family(540, 520, 575, 595 etc) just by looking into the model # info from prtconf/lsconf o/p of the lpar?
I dont want run a search on any search engine to find out the power family or hit IBM website to... (3 Replies)
Discussion started by: thisissouvik
3 Replies
7. Programming
# Erroneous question, so can be removed. (0 Replies)
Discussion started by: beginnerboy
0 Replies
LEARN ABOUT HPUX
cmpt_get_addrcid
cmpt_get_ifcid(3) Library Functions Manual cmpt_get_ifcid(3)
NAME
cmpt_get_ifcid(), cmpt_get_addrcid() - get the compartment IDs associated with a network interfaces
SYNOPSIS
Parameters
ifname Pointer to network interface name string.
family Address family of the ipaddress specified. Currently, the AF_INET and AF_INET6 address families are supported.
addr Points to a buffer holding an IPv4 address if the family argument is AF_INET or an IPv6 address if the family is AF_INET6.
The address should be in numeric format in the network byte order. Numeric format is the binary value that goes into a
socket address structure.
The binary value is the hex representation of the IPv4/IPv6 address. This binary value resides in the structure for IPv4
address and in the structure for IPv6 address. (See inet(3N) for more details.)
mask Network mask in the CIDR representation.
DESCRIPTION
The function returns the compartment ID associated with a network interface.
The function returns the compartment ID of the tuple as set by a previous invocation of the command.
RETURN VALUE
The functions and return the following values:
Successful completion.
n is the compartment of the interface or the tuple.
Function failed.
may be set to indicate the error.
ERRORS
If any of the following conditions occur, and fails and sets
Compartmentalization feature is not supported.
The process does not have the appropriate privilege.
See privileges(5).
Specified interface or the address tuple has no compartment mapping.
Specified mask or family is invalid.
DEPENDENCIES
These functions are a part of the library.
SEE ALSO
compartments(4), compartments(5), privileges(5).
cmpt_get_ifcid(3)