8 More Discussions You Might Find Interesting
1. SCO
Hi,
I need help to install SCO Unixware 7.0.1. Can any one help with any documentation or installation notes for SCO Unixware 7.0.1.
Thank you (1 Reply)
Discussion started by: farhandalvi
1 Replies
2. SCO
Hi, I'm new to this Unix world and have taken over looking after the I.T side of things at work, which includes the internal ERP system which runs on a UNIX SCO platform.
My initial worry is what state this is in as its been on site over 20 years.
What would be the first things to check on... (13 Replies)
Discussion started by: Mick_Dundee
13 Replies
3. SCO
Hi
I m trying to install SCo 5.0.5 on my laptop but it fails, I was able to install it on another computer and it did work, but with this IBM LENOVO R61 Laptop, it is giving me the message Memory error loading kernel, I searched the net concerning this issue and found that i have to write this... (1 Reply)
Discussion started by: bashar_smeirat
1 Replies
4. SCO
I want to install unixware 7.1.1 on a server which does not have a on board floppy drive. I have got a USB floppy drive. Can anybody please help me...how could I provide HBA disk using this USB floppy drive???? (0 Replies)
Discussion started by: siddhartha7m
0 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
This is the first time I have attempted to install SCO UNIX. I have a customer that has requested we install it on a desktop sized machine and they have supplied me with their install CD - "SCO UNIX Release 6.0.0 Base Operating System Install disk CD 1"
I am attempting to install it... (0 Replies)
Discussion started by: Becks
0 Replies
6. SCO
I am trying to install SCO Unixware7 on compaq DL380 Server with bootable CD but it was stuck at .....
It was not going to further
I have given the following
unix
Sco UnixWare7
....
It was giving errror "unrecogonized command", Can any one please help to completed the installation.... (4 Replies)
Discussion started by: visu101
4 Replies
7. Windows & DOS: Issues & Discussions
Please provide some immediate help (2 Replies)
Discussion started by: altaf
2 Replies
8. Filesystems, Disks and Memory
I am using SCO Unixware 2.1 & some PC clients are connected, suddenly one message appearslike :
UX:strintercept error: dropping message
this message starts coming repeatedly & agtre some time system hangs.I had to reset the system & now the problem is not there.Please suggest, why this is... (0 Replies)
Discussion started by: paprch
0 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)