9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail.
actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I would like to make a BASH shell script email me regarding its status (ie. it has errored while processing a file, it has finished etc.).
- This script will be distributed to users using Macs and a variety of Linux flavors. Is there a standard mail utility that most OS's should have? I... (0 Replies)
Discussion started by: msb65
0 Replies
3. SCO
Dear members
when i installed dual processor patch in openserver 5.0.7 in hp ML370 G4 server it hangs in sco at G_hd_config.
i tried MP4, EFS 5.64,5.70A but not solved the problem.. (0 Replies)
Discussion started by: M_farooqui
0 Replies
4. UNIX for Dummies Questions & Answers
Hi there guys.
I just got this new SCO version and i'm having some problem printing from shell,
This is what i'm typing at the # sign : lp -dHP /etc/hosts and it prints no problem but when i use any other user at the $ sign it gives me this error.
/dev/fd/7: /usr/lib/lp/sysv/7: not found.
... (1 Reply)
Discussion started by: josramon
1 Replies
5. SCO
Hi Guys,
I want ur replies very very Urgently.Plz. don't ignore this mail.
I am using Sco openserver 5.0.2 and i have downloaded jdk1.2.2
for that i have installed it.The jdk is working fine.
Then i download jakarta-tomcat-4.1.24.zip and i have installed it.
In order... (1 Reply)
Discussion started by: ananthu_m
1 Replies
6. UNIX for Dummies Questions & Answers
I have just been made responsible for setting up Apache on our office SCO
box. I have searched the internet, but
haven't found any details that I can make
sense of. I'm unfamiliar with Unix and would appreciate any help members of
the forum have to offer. (1 Reply)
Discussion started by: cstovall
1 Replies
7. UNIX for Advanced & Expert Users
I am doing some work for a customer that is running SCO 5.0.2 openserver and they have lost their cd. Is there anyplace I can download it? I have a replacement being shipped but it will not be here for two days and they are down. Any ideals? (3 Replies)
Discussion started by: SCOoT
3 Replies
8. UNIX for Dummies Questions & Answers
hello!
when i try to make my system dual boot with both win98 & sco open server 5.5 it doesn't work at all.neither win98 take start nor sco open server boots.what should i do ?
kindly help me
thanks (1 Reply)
Discussion started by: buntty
1 Replies
9. UNIX for Dummies Questions & Answers
I've just installed Unix SCO OpenServer System v in an Intel PC and Everithing ok, except just one thing, in the begining of the installation the wizard asked me about the mouse , i have a generic 3 buttons mouse and i took a logitech and did not work
i need to change the mouse configuration, ... (2 Replies)
Discussion started by: jimmyvaldes
2 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)