9 More Discussions You Might Find Interesting
1. 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
2. Solaris
I have a sun fire v240 server.
The output of prtdiag -v shows a failed fan.
There are 3 fans for cooling system board.
There is 1 fan for each of the powersupply (There are 2 powersupplies)
From the below output how do i know which fan is bad and whats its location... (3 Replies)
Discussion started by: Tirmazi
3 Replies
3. SCO
Dear All
I am a newbie in this forums, I need your expertise assistant on my SCO OpenServer
I am currently facing to the BiG problems like this one:
"dspmsg: could not execute command printf: No such file or drirectory Error 2"
I supposed the file is missing, could you please check if... (4 Replies)
Discussion started by: TinhNhi
4 Replies
4. SCO
Hi,
Completely new to UNIX - so be gentle
Cut a long story short, we have a micros 8700 system (eclipse) that needs the Micros 8700 software installed.
The system needs UNIX and I have downloaded and successfully installed SCO open Server 6 and can log into root e.t.c.
Now I have... (13 Replies)
Discussion started by: kennyruss
13 Replies
5. UNIX for Dummies Questions & Answers
Hellow .
I want link download unix sco server 6.0.0.
please.
I am waiting your answer. (3 Replies)
Discussion started by: newar
3 Replies
6. SCO
Hi everyone, I am having a problem using SCO
I have used linux for years and actually learned linux command line from a unix book, but this is my first experience with sco.
I have a server that was running sco 3.04 and thoroughbred basic software. It crashed, and the only backup is on some... (0 Replies)
Discussion started by: uten
0 Replies
7. SCO
:o
I should know this but here it goes.
Can a Sco server be renamed without re-installation?
I have a client that supposedly took some networking course along
the way time ago and did sco server intallations in offices in two different states with the same name and domain. Now he wants them... (1 Reply)
Discussion started by: oguerra
1 Replies
8. SCO
Dear All,
I am considering installing SCO Open Server as an alternative to MS Exchange. Has anybody had any real world experience of using Open Office?
Thanks,
TC. (1 Reply)
Discussion started by: TCuk
1 Replies
9. SCO
Dear sir,
I am using sco open server 5.06.How we can reboot the system without using root password? Whar are the permision need to change to do this.
Thanks,
Mostafizur Rahman (3 Replies)
Discussion started by: rahmanm
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.53 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)