10 More Discussions You Might Find Interesting
1. Hardware
Hi gurus, I am experiencing strange networks problems. I am trying to teather internet from HTC Desire S with Android. Basicly I followed those instructions: https://wiki.archlinux.org/index.php/Android_Tethering#Procedure
1.) Enable USB Debugging - Phone: Settings --> Applications -->... (0 Replies)
Discussion started by: wakatana
0 Replies
2. HP-UX
Hello all,
I hope someone can help me.
We have Compaq Tru64 UNIX V5.1B (Rev. 2650).
By latest Belarus government act Europe/Minsk timezone was changed to
GMT+3 without DST (was GMT+2 with DST).
Please advice how to do changes on our machine.
Thank You in advance,
md1982 (15 Replies)
Discussion started by: md1982
15 Replies
3. Windows & DOS: Issues & Discussions
Hi all,
Laptop compaq presario v3000 is not booting! It just gives 3 beeps and there is no display. All the green LEDs are glowing!
I have "performed a hard reset" as per HP site
Troubleshooting Black Screen Displays with No Error Messages During Startup or Boot Compaq Presario V3115AU... (7 Replies)
Discussion started by: ./hari.sh
7 Replies
4. Linux
Hi,
Trying to install a small OS to run this old laptop.
Compaq Presario 1685, circa '98
Processor: AMD K6-2 380 MHz Data Bus Speed: 66 MHz
Ram Installed 32 MB moduled
Hard Drive: 4.3 GB
DVD-ROM
Burned in a CD “PUPPY-4.3beta1-k2.6.25.16-v423-SCSI”, tried to boot with it several times BUT... (7 Replies)
Discussion started by: nichos
7 Replies
5. SuSE
Any one try this. I am getting errors or it just hangs up. I have tried redhat, suse,ubuntu etc but nothing will load.
When i try to boot the live cd they boot up OK but then just hang after a while and the cd rom stop spinning etc.
Just wondering if anyone has use this hdw and what linux... (2 Replies)
Discussion started by: admaix
2 Replies
6. UNIX for Dummies Questions & Answers
I am trying to re-install this netwrok adapter on a server which has just had the motherboard replaced - so much for fault tolerant. I am running SCO Opensercer 5.0.7
Can anyone tell me the Bus no , device number etc that I need to configure this card?
Thanks in advance
Richard (3 Replies)
Discussion started by: farmacy
3 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I am new to UNIX. I need help in working with Compaq-UX TRU64 OS.
How It work FTP Server?
ANd MAil Server?
and I have apach pprogram project and it work as HTTP Server.
Also I need how can setup a new version of progrm on UNix like mozilla and adobe reader etc...........
Thank... (3 Replies)
Discussion started by: svuad
3 Replies
8. SCO
Trying to install Sco openserver on HP Proliant with this scsi controller but no scsi devices detected.
Boot controller is set as the smart array 532 but SCSI diags do not detect any SCSI boot devices during boot sequence
Any help appreciated (2 Replies)
Discussion started by: farmacy
2 Replies
9. Filesystems, Disks and Memory
Howto make Debian GNU/Linux install boot on a Compaq DeskPro XL 590 with Compaq SCSI diskdrive?
The problem is that Compaq's Scsi controller sems to be odd.
help please :) (0 Replies)
Discussion started by: Esaia
0 Replies
10. Programming
Hi All
Following is the lines of code which simply makes a structure of 1 bit member and 7 bit is unused.Then the structure is initialised with char pointer.The output on HPUX(BIG Endian) and Compaq(Little Endian) are different.On HPUX it gives zero and Compaq it gives 1. I never thought that the... (7 Replies)
Discussion started by: Shobhit
7 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)