05-07-2005
Quote:
Originally Posted by blowtorch
I can answer milhan's question. I have HP-UX v11.11. Just run man pthread and you will get all your answers. All the latest OSes are POSIX compliant.
No, I tried it, here's what I got :
Quote:
/tmp_mnt/n/s2/milhan > uname -a
HP-UX [hostname] B.10.20 A 9000/785 2010746535 two-user license
/tmp_mnt/n/s2/milhan > man pthread
No manual entry for pthread.
/tmp_mnt/n/s2/milhan > man pthread_create
No manual entry for pthread_create.
thanks for your attempt, though...
10 More Discussions You Might Find Interesting
1. Programming
Hello,
I actually try to make client-server program.
I'm using SCO OpenServer Release 5.0.0 and when I try to compile my code (by TELNET) I've got this error :
I'm just using this simple code :
and I get the same error if I use :
If someone can help me,
Thanks (2 Replies)
Discussion started by: soshell
2 Replies
2. UNIX for Dummies Questions & Answers
Sorry if this is a stupid question!
I have been developing a Java application that I am deploying on both Unix and Linux servers, which uses lots of socket handling. When the server side connection is dropped by the server un-gracefully I have been seeing close_waits and null connections.
... (0 Replies)
Discussion started by: Vinnie
0 Replies
3. UNIX for Advanced & Expert Users
Hi,
I was porting ipv4 application to ipv6; i was done with TCP transports. Now i am facing problem with SCTp transport at runtime.
To test SCTP transport I am using following server and client socket programs. Server program runs fine, but client program fails giving Invalid Arguments for... (0 Replies)
Discussion started by: chandrutiptur
0 Replies
4. Programming
Hi all,
On the server side, one socket is used for listening, the others are used for communicating with the client.
My question is: if i want to set option for socket, which socket should be set on?
If either can be set, what's the different?
Again, what's the different if set option... (1 Reply)
Discussion started by: blademan100
1 Replies
5. UNIX for Advanced & Expert Users
Hey Guys
Some of my friends have got together and we are trying to write a basic kernel similar to Linux. I am trying to implement the malloc function in C and I am using a doubly linked list as the primary data structure. I need to allocate memory for this link list (duh...) and I don't feel... (2 Replies)
Discussion started by: rbansal2
2 Replies
6. Programming
Why does this socket function only read the first 1440 chars of the stream. Why not the whole stream ? I checked it with gdm and valgrind and everything seems correct...
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <string.h>
#include... (3 Replies)
Discussion started by: cyler
3 Replies
7. Programming
Dear Experts,
i am compiling my code in suse 4.1 which is compiling fine,
but at runtime it is showing me for socket programming error no 88
as i searched in errno.h it is telling me socket operation on non socket,
what is the meaning of this , how to deal with this error , please... (1 Reply)
Discussion started by: vin_pll
1 Replies
8. Shell Programming and Scripting
Hi
Hope you are having a great weeknd !! I had a question and need your expertise for this :
I have 2 files File1 & File2(of same structure) which I need to compare on some columns. I need to find the values which are there in File2 but not in File 1 and put the Differences in another file... (5 Replies)
Discussion started by: newbie_8398
5 Replies
9. Programming
Hi all,I'm reading <Advanced programming in the UNIX environment>,that book asked the reader to implement a function which has same functions with dup2 without calling fcntl.Could anyone give me a tip?Any help will be appreciated.:) (8 Replies)
Discussion started by: homeboy
8 Replies
10. IP Networking
I need clarification on whether it is okay to set socket options on a listening socket
simultaneously when it is being used in an accept() call?
Following is the scenario:-
-- Task 1 - is executing in a loop - polling a listen socket, lets call it 'fd', (whose file descriptor is global)... (2 Replies)
Discussion started by: jake24
2 Replies
LEARN ABOUT SUNOS
csx_getnextclient
csx_GetFirstClient(9F) Kernel Functions for Drivers csx_GetFirstClient(9F)
NAME
csx_GetFirstClient, csx_GetNextClient - return first or next client
SYNOPSIS
#include <sys/pccard.h>
int32_t csx_GetFirstClient(get_firstnext_client_t *fnc);
int32_t csx_GetNextClient(get_firstnext_client_t *fnc);
INTERFACE LEVEL
Solaris DDI Specific (Solaris DDI)
PARAMETERS
fnc Pointer to a get_firstnext_client_t structure.
DESCRIPTION
The functions csx_GetFirstClient() and csx_GetNextClient() return information about the first or subsequent PC cards, respectively, that
are installed in the system.
STRUCTURE MEMBERS
The structure members of get_firstnext_client_t are:
uint32_t Socket; /* socket number */
uint32_t Attributes; /* attributes */
client_handle_t client_handle; /* client handle */
uint32_t num_clients; /* number of clients */
The fields are defined as follows:
Socket If the CS_GET_FIRSTNEXT_CLIENT_SOCKET_ONLY attribute is set, return information only on the PC card installed in this
socket.
Attributes This field indicates the type of client. The field is bit-mapped; the following bits are defined:
CS_GET_FIRSTNEXT_CLIENT_ALL_CLIENTS
Return information on all clients.
CS_GET_FIRSTNEXT_CLIENT_SOCKET_ONLY
Return client information for the specified socket only.
client_handle The client handle of the PC card driver is returned in this field.
num_clients The number of clients is returned in this field.
RETURN VALUES
CS_SUCCESS Successful operation.
CS_BAD_HANDLE Client handle is invalid.
CS_BAD_SOCKET Socket number is invalid.
CS_NO_CARD No PC Card in socket.
CS_NO_MORE_ITEMS PC Card driver does not handle the CS_EVENT_CLIENT_INFO event.
CS_UNSUPPORTED_FUNCTION No PCMCIA hardware installed.
CONTEXT
This function may be called from user or kernel context.
SEE ALSO
csx_event_handler(9E)
PC Card 95 Standard, PCMCIA/JEIDA
SunOS 5.10 16 May 1997 csx_GetFirstClient(9F)