9 More Discussions You Might Find Interesting
1. Red Hat
Hello,
I want to delete a RAID configuration an old server has.
Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton?
I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies
2. Solaris
Server Model: T5120 with 146G x4 disks.
OS: Solaris 10 - installed on c1t0d0.
Plan to use software raid (veritas volume mgr) on c1t2d0 disk.
After format and label the disk, still not able to detect using vxdiskadm.
Question:
Should I remove the hardware raid on c1t2d0 first?
My... (4 Replies)
Discussion started by: KhawHL
4 Replies
3. AIX
Hello,
I have a scsi pci x raid controller card on which I had created a disk array of 3 disks
when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk )
suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies
4. Red Hat
Dear experts,
Can any one suggest, whether RHEL is supported in HP NetServer LH6000 U3
Thanks (2 Replies)
Discussion started by: ./hari.sh
2 Replies
5. UNIX for Dummies Questions & Answers
Hi
Can someone tell me what are the differences between software and hardware raid ?
thx for help. (2 Replies)
Discussion started by: presul
2 Replies
6. UNIX for Dummies Questions & Answers
This server had an HP C1555 tape drive that appears to have gone belly up. We found a replacement, an HP C1537, that we want to install. We did the hardware thing, with power off, of course, but when the box was rebooted it did not seem to recognize the drive. At least the backup software did... (4 Replies)
Discussion started by: akirson
4 Replies
7. UNIX for Dummies Questions & Answers
I tried to install SCO Open Server on HP2000 U3
drivers is amrid,
at install of SCO unnix only recognize non hot plugged devices
I have 2 HD of 40 GO under ID 0 and 1 but unix does not see them at boot ?? (1 Reply)
Discussion started by: Bernardschmitt
1 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I have a SCO Openserver 5.0.5 server running RAID5 on the hp NETRAID-1M controller and it works just fine.
However, I cannot add a tape drive in. The standard SCSI card is a Symbios and I am using the 'slha' driver, but the system doesnt see the adaptor at SCO startup. The adaptor and... (1 Reply)
Discussion started by: christate
1 Replies
9. UNIX for Dummies Questions & Answers
Over the past few weeks i've installed Red Hat 7.1 on an HP LPR Netserver and everytime i've installed it, I get errors on the drives and it keeps having me run the fsck command and i suspect that its the scsi drivers, everytime you reboot it gets worse and eventually will no longer boot. I've... (3 Replies)
Discussion started by: Lyghtnin
3 Replies
CFREE(3) Linux Programmer's Manual CFREE(3)
NAME
cfree - free allocated memory
SYNOPSIS
#include <stdlib.h>
/* In SunOS 4 */
int cfree(void *ptr);
/* In glibc or FreeBSD libcompat */
void cfree(void *ptr);
/* In SCO OpenServer */
void cfree(char *ptr, unsigned num, unsigned size);
/* In Solaris watchmalloc.so.1 */
void cfree(void *ptr, size_t nelem, size_t elsize);
Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
cfree(): _BSD_SOURCE || _SVID_SOURCE
DESCRIPTION
This function should never be used. Use free(3) instead.
1-arg cfree
In glibc, the function cfree() is a synonym for free(3), "added for compatibility with SunOS".
Other systems have other functions with this name. The declaration is sometimes in <stdlib.h> and sometimes in <malloc.h>.
3-arg cfree
Some SCO and Solaris versions have malloc libraries with a 3-argument cfree(), apparently as an analog to calloc(3).
If you need it while porting something, add
#define cfree(p, n, s) free((p))
to your file.
A frequently asked question is "Can I use free(3) to free memory allocated with calloc(3), or do I need cfree()?" Answer: use free(3).
An SCO manual writes: "The cfree routine is provided for compliance to the iBCSe2 standard and simply calls free. The num and size argu-
ments to cfree are not used."
RETURN VALUE
The SunOS version of cfree() (which is a synonym for free(3)) returns 1 on success and 0 on failure. In case of error, errno is set to
EINVAL: the value of ptr was not a pointer to a block previously allocated by one of the routines in the malloc(3) family.
CONFORMING TO
The 3-argument version of cfree() as used by SCO conforms to the iBCSe2 standard: Intel386 Binary Compatibility Specification, Edition 2.
SEE ALSO
malloc(3)
COLOPHON
This page is part of release 3.25 of the Linux man-pages project. A description of the project, and information about reporting bugs, can
be found at http://www.kernel.org/doc/man-pages/.
2007-07-26 CFREE(3)