10 More Discussions You Might Find Interesting
1. AIX
Hi,
On P5 I would like to add hard drive, currently 2 hard disk are already exists, would like to add one more,
2 Slots are emtpy, I would like to know how to find out wheather adapter is attached to that 2 free slot using command. (7 Replies)
Discussion started by: manoj.solaris
7 Replies
2. Solaris
Hi Solaris users - I have an Ultra10 SPARC machine, with IIe processor. To prepare for the Solaris10 admin exam PartII I need to set up the metadb/mirroring in my machine, but do not know how to do this properly.
I need this to practice the mirroring tasks.
If anyone could help it would be... (3 Replies)
Discussion started by: patcom
3 Replies
3. SCO
One hard disk fail to mount (/dev/data). I had run "fsck /dev/data" then some error occured "unrecoverable error reading SCSI Disk 1 dev 1/104".
I need to recover data from disk. please help. (1 Reply)
Discussion started by: rakeshkumar9919
1 Replies
4. SCO
Is SATA hard disk is suooprted by SCO OpenServer 5.05? If No, how to couter this problem. If yes, please provide the installation steps. (2 Replies)
Discussion started by: rakeshkumar9919
2 Replies
5. UNIX for Dummies Questions & Answers
my question seems to be simple but i need help on that , actually i am having Fujitsu Siemens Celsius M420 , M440 workstations having 73 GB U320 10 K rpm SCSI HD , i got new HDs 15 K rpm with the same size 68 pins U320 SCSI ,my operating system is SCO Openserver 5.0.6 & Redhat linux release 9
i... (0 Replies)
Discussion started by: tamersai
0 Replies
6. SCO
I've been working on installing SCO OpenServer 6.0.0 and need to install a second hard drive onto the system. I have not done this too often (5 years ago for the same client) and I can not write the "divvy table" to the system (I/O Error.) Where can I find detail step by step instructions? (13 Replies)
Discussion started by: uxlunatick
13 Replies
7. SCO
Situation - i have an IDE hard drive from server apparently running SCO last used in 2003. No access to computer it was formerly in. I need to access the drive to pull off data files from a billing/scheduling program. I have no SCO machine or access to one atm. Have some limited Linux... (3 Replies)
Discussion started by: lordlars1
3 Replies
8. Shell Programming and Scripting
Hi Engg. ! :mad:
I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies
9. Filesystems, Disks and Memory
Hi all,
I am using SCO Openserver V and I want to add one more harddisk (/dev/hd1) Hw can I do it? (1 Reply)
Discussion started by: skant
1 Replies
10. UNIX for Dummies Questions & Answers
Hi friends,
I 'm using sco open server on P-100. The back up is on boot-root floppy and data cartridge only.
Usually we can restore the things easyly by cpio. But for one new hard disk which was used for windows -98, the installation is a problem. It seems everything to be installed but... (1 Reply)
Discussion started by: skant
1 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.44 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)