07-24-2002
I am also new to Unix, but I have used and installed both SCO Unix and Sun Solaris. SCO Unix is probably more Intel friendly. The newest to make waves is Linux which is growing ever popular. However there are many free versions out there on the web including Sun Solaris that you can download for free. I know this probably does not help you but I hope it is a start for understanding the easy accesability of different Unix varieties.
If you have a chance goto
www.techtv.com . They reviewed some Unix systems a while back.
9 More Discussions You Might Find Interesting
1. Programming
Good morning. Thanks for the very valuable hard-to-find information I get from you guys.
Can anybody give any suggested websites or references for anyone who wants to begin learning on programming applications in X? Thanks to anyone in advance... (1 Reply)
Discussion started by: jfsuminist
1 Replies
2. UNIX Desktop Questions & Answers
does anyone know of a course for unix beginners (1 Reply)
Discussion started by: moose
1 Replies
3. UNIX for Dummies Questions & Answers
Im pretty new to unix, as you can probably tell. Anyway I want to get a book on unix and howto use it. I would like to get a book that goes from the very basics to the advanced things that unix can be used for, does anyone have any suggestions?? (16 Replies)
Discussion started by: MadProfessor
16 Replies
4. AIX
Hi,
I'm starting to learn AIX and looking for some books.
I found lots of IBM redbooks, but which one is 'best' for beginners ?
Could someone suggest one.
thank you
Vilius (1 Reply)
Discussion started by: vilius
1 Replies
5. Programming
Hi everyone:
I'm developing a dynamic library for notifications, this library is used for a daemon that i've programmed, when something goes wrong the library should send an email to an administrator, but since sending an email is a non-vital process then it can fail (it should work as an... (4 Replies)
Discussion started by: edgarvm
4 Replies
6. UNIX Desktop Questions & Answers
1. I would like to know which UNIX version I should use as a beginner and from I can get it?
2. How much hard disk space(drive space...in case of dual boot) does it require?
3. Can I run it from USB or Live CD?
4. Is there any need of installing UNIX if I have Linux... ie does Linux... (3 Replies)
Discussion started by: ArpitRaj
3 Replies
7. UNIX for Dummies Questions & Answers
i'm just a beginner in unix environment- please help which book to read and which os to use!!! :confused: seriously i've no idea what is unix or how much capable it is!! (1 Reply)
Discussion started by: gaurav singh
1 Replies
8. UNIX for Dummies Questions & Answers
hi all,
Can you suggest me a ebook for unix beginners. I am new to unix. (2 Replies)
Discussion started by: rajasingam
2 Replies
9. UNIX for Beginners Questions & Answers
I want to get a Linux Certification to start my Career in IT sector. My Qualification is MCS from a top university. Suggest me some Linux Certifications. (1 Reply)
Discussion started by: alexwatson1711
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.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)