10-25-2014
"Fails" is hardly specific enough for anyone to address what's wrong.
How does it fail?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Ladies and Gentlemen;
I need your help in determining what has happened to one of my companies systems. Here is the scenario:
System Ultra 5 with Solaris 2.6 and the latest patch cluster installed. Third party security person "hardened" the system yesterday.... (2 Replies)
Discussion started by: rambo15
2 Replies
2. Programming
Dear all,
In my code,i am planning to use memset function to re-initialise an array before populating it everytime. Will using memset function be an overload to the program? (3 Replies)
Discussion started by: ranj@chn
3 Replies
3. UNIX for Dummies Questions & Answers
Hi, guys !
I usually run this task without even thinking on outcome, because it never failed. But this time when I tried installation of patches for Solaris 8 OS on my old machine, I received this message:
"pkgadd: ERROR: no packages were found in </var/spool/pkg>"
I compared the contents... (5 Replies)
Discussion started by: Deicide5997
5 Replies
4. UNIX for Dummies Questions & Answers
HI all ,
please find the piece of code below
char *t;
char *f;
char buf;
memset(buf,0,50);
after that i am assigning memory
for (i=0; i<100; i++)
{
t = buf+(i*6);
f = "ARUN";
}
my question ..
1) i have run this it is... (7 Replies)
Discussion started by: arunkumar_mca
7 Replies
5. UNIX for Advanced & Expert Users
Dear Friends,
Can any one tell me the difference between memset and calloc function in C.
Regards,
Selvi (7 Replies)
Discussion started by: salvi
7 Replies
6. Solaris
I have an issue here with ldap client. It stoped and won't start.
What I have got:
sadm $ tail /var/adm/messages
Apr 16 09:17:24 hostname inetd: libsldap: Status: 2 Mesg: Unable to load configuration '/var/ldap/ldap_client_file' ('').
Apr 16 09:17:24 hostname inetd: libsldap: Status: 2 ... (3 Replies)
Discussion started by: aixlover
3 Replies
7. Solaris
I'm trying to do an upgrade/install from Solaris 8 to Solaris 10 on a SUN Sparc system.
I halt the system, as documented, but when I attempt to boot off the distribution DVD; i.e.
halt
:
:
OK> boot cdrom
The system indicates that the device is 'unrecognizable'
These are SUN... (5 Replies)
Discussion started by: imagtek
5 Replies
8. Programming
Hi guys,
my tool works fine in gentoo, ubuntu now im trying to port it to windows but bzero/bcopy I read aren't working on windows and for better portability I should of use memset() so im trying to translate
bzero(buffer,256);in
printf("MAIL TO");
strcpy(buffer, rcp);
... (4 Replies)
Discussion started by: Jess83
4 Replies
9. Solaris
Hi,
I am facing an issue with Solaris x86 machine
Machine Details:
uname -a
SunOS sol10-64 5.10 Generic_137138-09 i86pc i386 i86pc
..............................
Description:
I am trying to register a programm with proramm ID 300760 with version number 1, and tryint to create a... (0 Replies)
Discussion started by: DivakarAdari
0 Replies
10. Shell Programming and Scripting
On linux i have the below command working fine.
awk '/<app-deploy>/{A=1;++i} /<\/app-deploy>/{print >> "found"i".tmp";A=0} A{;print >> "found"i".tmp"}' deploy.xml
But the same is failing on Solaris
Output:
awk: syntax error near line 1
awk: bailing out near line 1
uname -a SunOS mymac 5.10... (5 Replies)
Discussion started by: mohtashims
5 Replies
LEARN ABOUT OPENSOLARIS
usb_pipe_get_private
usb_pipe_set_private(9F) Kernel Functions for Drivers usb_pipe_set_private(9F)
NAME
usb_pipe_set_private, usb_pipe_get_private - USB user-defined pipe data-field facility
SYNOPSIS
#include <sys/usb/usba.h>
int usb_pipe_set_private(usb_pipe_handle_t pipe_handle, usb_opaque_t data);
usb_opaque_t usb_pipe_get_private (usb_pipe_handle_t pipe_handle);
INTERFACE LEVEL
Solaris DDI specific (Solaris DDI)
PARAMETERS
For usb_pipe_set_private():
pipe_handle Pipe handle into which user-defined data is placed.
data Data to store in the pipe handle.
For usb_pipe_get_private():
pipe_handle Pipe handle from which user-defined data is retrieved.
DESCRIPTION
The usb_set_driver_private() function initializes the user-private data field of the pipe referred to by pipe_handle, using data. The
user-private data field is used to store any data the client desires and is not used in any way by the USBA or OS framework. Client driv-
ers often store their soft-state here for convenient retrieval by their callback handlers.
The usb_get_driver_private() function retrieves the user-private data stored via usb_set_driver_private(), from the pipe referred to by
pipe_handle.
RETURN VALUES
For usb_pipe_set_private():
USB_SUCCESS Private data has been successfully stored in pipe handle.
USB_INVALID_PIPE pipe_handle argument is NULL or invalid.
Pipe is closing or closed.
USB_INVALID_PERM The pipe_handle argument refers to the default control pipe.
For usb_pipe_get_private():
On success: usb_opaque_t pointer to data being retrieved.
On failure: NULL. Fails if pipe handle is NULL or invalid. Fails if pipe handle is to a pipe which is closing or closed.
CONTEXT
May be called from user, kernel or interrupt context.
EXAMPLES
usb_pipe_handle_t pipe;
/* Some driver defined datatype. */
xxx_data_t *data = kmem_zalloc(...);
usb_pipe_set_private(pipe, data);
----
xxx_data_t *xxx_data_ptr = (xxx_data_t *)usb_pipe_get_private(pipe);
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Architecture |PCI-based systems |
+-----------------------------+-----------------------------+
|Interface stability |Committed |
+-----------------------------+-----------------------------+
|Availability |SUNWusb |
+-----------------------------+-----------------------------+
SEE ALSO
attributes(5), usb_pipe_open(9F), usb_alloc_request(9F)
SunOS 5.11 5 Jan 2004 usb_pipe_set_private(9F)