Hi
I have been trying to install SCO OS 5.0.6 on my home PC Which has P-IV 1.7Ghz Processor 128 MB DDR ram, 20 GB HDD . However the system do boots from the cd shows the boot: prompt ............. there when i press enter key the process of loading starts but soon after that the screen goes... (3 Replies)
Hi,
Is there any easy way to install Sun N1 System Manager ?? I was trying to install it on Solaris 9 but when I run the install file (./install) it says "Perl version must be greater than or equal 5.8 !! how can I disply the perl version also how can update perl ?
any advice for a good... (1 Reply)
Can anyone tell me how I can change the default location for a netbackup installation to another location on my box? The default location is too small and I want to install in another location that has the adequate space. The Netbackup user manual is USELESS!!:mad::mad: (3 Replies)
Hi all,
we have iBM p series server on that 4. 3 operating system is runing.but i need ti install 5.2 or 5.3 then i ahve to install oracle 10g release 2 .but we have only 1 GB of RAM.can i install 5.2 or 5.3 with same RAM and please send me a document which discribe about how to install... (5 Replies)
Hi All,
I am newbie to Sun solaris operating system. I am trying to install IBM Cognos 8 on it. However it can't execute the installation path when i insert to CD when i double click it. Anyone have any idea on installing it? or any documentation for me to view? (0 Replies)
Hello,
I work on an oil rig offshore with limited resources at my disposal at the moment. We have been trying to repair one of our IMS stations, but no one out here is familiar with UNIX and our ABB service rep is spotty at best. The machine is an HP 9000 running HP-UX 10.20.
We are trying... (2 Replies)
Anyone has installed IBM System Director? May I have the procedures manual or any experiences can be shared? (1 Reply)
Discussion started by: kwliew999
1 Replies
LEARN ABOUT DEBIAN
cfree
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)