01-22-2009
Thread moved to SCO subforum.
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I use HP UNIX 11 now , as I know , the latest version is 11iv2 , ( correct me if i am wrong ) , I hv read the feature of this version , it is 15% performance improved and more secure , if it is truth , I want to upgarde it by myself , but i am too familiar with the OS upgarde , could suggest the... (2 Replies)
Discussion started by: ust
2 Replies
2. Solaris
Dear all,
How to upgrade bash's version? which way should be easy between remove the old version first and upgrade it or upgrade without remove?
Please, tell me how to upgrade step by step because I'm newbie
thank in advance (4 Replies)
Discussion started by: unitipon
4 Replies
3. Solaris
hi i need to upgrade my solaris mysql version.. can u guide me the upgrade steps..
my current version is
4.0.31-log
i need to upgrade to 5.0
..
thanks..
---------- Post updated at 12:04 PM ---------- Previous update was at 11:28 AM ----------
my solaris version is 10..
----------... (2 Replies)
Discussion started by: senkerth
2 Replies
4. AIX
Hi
What are the steps to be followed when upgrading MQ version from 6 to 7 in aix server?
cbsdbprd01 # oslevel -s
5300-10-01-0921
cbsdbprd01 # lslpp -l | grep -i mq
mqm.base.runtime 6.0.2.1 COMMITTED WebSphere MQ Runtime for
mqm.base.samples 6.0.2.1 ... (0 Replies)
Discussion started by: samsungsamsung
0 Replies
5. Solaris
Hi Friends,
I am trying to upgrade my java version on solaris sparc machine. I have installed the o/s software from scratch and it came with some default java version. I want to install the newer version of java available on top of this machine.
I have already installed the latest version in... (7 Replies)
Discussion started by: prash358
7 Replies
6. Solaris
Hi All,
I got a task to upgrade release version of Solaris-9. I need to upgrade from Solaris 9 (Update 7) to Solaris 9 (Update 9) . My current config is - root@tsdpt01:/# uname -a
SunOS tsdpt01 5.9 Generic_118558-06 sun4u sparc SUNW,Sun-Fire-V240
root@tsdpt01:/# cat /etc/release
... (2 Replies)
Discussion started by: solaris_1977
2 Replies
7. Solaris
did a solaris 10 from an older update version to s10u9...
it boots up clean..
one of the zfs pool comes up with this..older zfs version cannot be by new software..
try to do zpool import <name_of_zone>
cannot import 'zone': pool is formatted using a newer ZFS version
I know... (4 Replies)
Discussion started by: ppchu99
4 Replies
8. Shell Programming and Scripting
Hi,
Can you please assist in upgrading perl from 5.8.x to 5.10?
Right now i am running the below verison on my Solaris SPARC machine.
Thanks in advance (8 Replies)
Discussion started by: prash358
8 Replies
9. UNIX for Advanced & Expert Users
Hi,
We have a scenario of OS upgrade and in a simialr upgrade last time, we noticed a few stray bytes appearing and it resulted in application programs failing.....
Could you please share your expertise in removing such control characters in input/output files, to keep the ball rolling in... (1 Reply)
Discussion started by: ab_2010
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.27 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)