un.h(3HEAD) Headers un.h(3HEAD)NAME
un.h, un - definitions for UNIX-domain sockets
SYNOPSIS
#include <sys/un.h>
DESCRIPTION
The <sys/un.h> header defines the sockaddr_un structure that includes the following members:
sa_family_t sun_family /* address family */
char sun_path[] /* socket pathname */
The sockaddr_un structure is used to store addresses for UNIX domain sockets. Values of this type must be cast to struct sockaddr for use
with the socket interfaces.
The <sys/un.h> header defines the type sa_family_t as described in socket.h(3HEAD).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO bind(3SOCKET), bind(3XNET), socket.h(3HEAD), socket(3SOCKET), socket(3XNET), socketpair(3SOCKET), socketpair(3XNET), attributes(5), stan-
dards(5)SunOS 5.10 30 Aug 2002 un.h(3HEAD)
Check Out this Related Man Page
un.h(3HEAD) Headers un.h(3HEAD)NAME
un.h, un - definitions for UNIX-domain sockets
SYNOPSIS
#include <sys/un.h>
DESCRIPTION
The <sys/un.h> header defines the sockaddr_un structure that includes the following members:
sa_family_t sun_family /* address family */
char sun_path[] /* socket pathname */
The sockaddr_un structure is used to store addresses for UNIX domain sockets. Values of this type must be cast to struct sockaddr for use
with the socket interfaces.
The <sys/un.h> header defines the type sa_family_t as described in socket.h(3HEAD).
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard |
+-----------------------------+-----------------------------+
SEE ALSO bind(3SOCKET), bind(3XNET), socket.h(3HEAD), socket(3SOCKET), socket(3XNET), socketpair(3SOCKET), socketpair(3XNET), attributes(5), stan-
dards(5)SunOS 5.10 30 Aug 2002 un.h(3HEAD)
I have a question regarding Perl scripting.
If I want to say open files that all look like this and assign them to a filehandle and then assign the filehandle to a variable, how do I do this?
The file names are
strand1.fa.gz.tmp
strand2.fa.gz.tmp
strand3.fa.gz.tmp
strand4.fa.gz.tmp
...... (6 Replies)
Hi,
I would like to use a shell variable $amp in my perl command line.
for fa in $WORKSPACE/*.fa; do
amp=`grep ">.*" $fa | sed -e's#>\(.*\)#\1#g'`
ampsam="$WORKSPACE/$base/$base.$amp.sam"
sqheader=`grep "^@SQ.*SN:$amp.*" $sam`
printf "$sqheader\n" >> $ampsam
... (3 Replies)
The below is the code which works correctly.But my requiremnt is to change only first line of the match i.e first match not whe file.
RAFTIP=rt950test.info53.com
RAFTPORT=21250
sed '5 c\
leprechaun.host.uri.list=raft' HostSocket.txt > tmp.properties
mv -f tmp.properties HostSocket.txt
... (17 Replies)
I can't compile anything, the final make error says "Command failed for target `install-recursive'", but I am not able to identify the root cause of that error, I tried with cc, gcc 4.5, also gcc 5.2, using make, using gmake 3.82, ld 5.11, gld 2.31... and I am totally stuck yet... please help, to... (4 Replies)
Hi
We meet errors while running configuration scripts to prepare compiling source code on AIX 7.2. This error does not happen on AIX5.3 and AIX6.1
With the “/usr/bin/sh” from AIX7.2, sometimes , the script runs sucessfully, sometimes not. It’s unstable, and I don’t know why.
When... (10 Replies)
I have to print the number of stars that increases on each line from the minimum number until it reaches the maximum number, and then decreases until it goes back to the minimum number. After printing out the lines of stars, it should also print the total number of stars printed.
I have tried... (13 Replies)
Someone, please help on this issue:-
Note : for security reason i didn't mention hostnames and ips.
==============================================================================
# ntpstat
unsynchronised
polling server every 1024 s
Ntpstat showing unsynchronised.
... (29 Replies)