10 More Discussions You Might Find Interesting
1. Ubuntu
I recently bought a new HP Spectre x360 laptop and installed Linux (Ubuntu 16.04 LTS 64 bit) for the first time.
I am seeing various bugs. I don't know if the problems are due to:
(a) Hardware problems with the new laptop.
(b) Software issues, i.e. Ubuntu not working with the other... (1 Reply)
Discussion started by: twelth_hour
1 Replies
2. Red Hat
Hi,
I have been trying to install SWAT on redhat 6 for samba4. The samba server was installed by another administrator but not swat. Please find output of yum install samba-swat in the attached file (2 Replies)
Discussion started by: p2bas
2 Replies
3. SCO
I need to reinstall SCO 5.0.4 onto another server as the customer does mnot want to pay for another license. Does anoine have the installation media for this? I'm willing to trade as I have every other installation CD. Let me download the 5.0.4 media from you and I'll give you any OS you want. I... (2 Replies)
Discussion started by: buffbiker23
2 Replies
4. Red Hat
Hi everyone,
I have just installed Linux redhat 9.0, Unfortunately i met a error, it annonced as following when i pressed ENTER at the first step on installation and then i stoped:
PCI: 00:13.2 PCI cache line size set incorrectly (64 bytes) by BIOS/FW
PCI: 00:13.2 cache line size too... (3 Replies)
Discussion started by: RobertPh
3 Replies
5. SCO
hello, i want to install release 5.0.5 on my notebook but the system hangs when extracing files from source media in fact after configuration all of setting please help me:confused: (1 Reply)
Discussion started by: hossein
1 Replies
6. BSD
Hi all, I'm new to the world of Unix/Linux (though not to computing in general) and I'm having a few issues installing FreeBSD (v6.2).
Firstly, I realise that it's not the most user-friendly of distros, especially for newbies, but it's what I'm required to install so unfortunately I have to... (2 Replies)
Discussion started by: Techmonkey
2 Replies
7. UNIX for Dummies Questions & Answers
This is what happened when I installed my gtkglarea-1.2.3
My GTK+ installation was successful. I installed on a non-standard location
having set all my variables for package config,library and executables
checking for GTK - version >= 0.99.7... ./configure: line 12482:... (0 Replies)
Discussion started by: preyan
0 Replies
8. HP-UX
Hi people:
I am having trouble installing some HPUX patches on my 11.00. I am a novice :confused: at this so bear with me. I do not understand how to install depots.
Now I'm trying to patch my system so I can get the Oracle client installed.
Oracle says I need these two patches:... (5 Replies)
Discussion started by: RAFA
5 Replies
9. SCO
Hi Am kind of new in Unix. I am used to installing SCO Unix 5.0.5 (very old i guess) on a server with SCSI RAID 0. at the boot prompt during installation I type
restart link=ipsraid Srom=wd(0,0,0,0). But the problem now is that i want to install on a server with no RAID SCSI disk. what command do... (3 Replies)
Discussion started by: okonkwouz
3 Replies
10. UNIX for Dummies Questions & Answers
Hello,
I just wanted to install a red hat on my pc, it says that it can not find a file! and i should click return! When I click ok or I use esc, it does not work! Just the error page returns!!
and then i formated my pc due to this error :(
plz help me! (13 Replies)
Discussion started by: creative
13 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)