07-31-2005
Dear RTM,
I am using SCO Unixware 7 CDE.
$BASE=/home2.
I am only depending on your help, because i don't have time to read SCO documentation and now backup is pending since 4 days now. I'll read documentation later, if any body else can help me, plz. do it.
Any help would be highly appreciated.
Regards,
Tayyab
9 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
I'm setting up a server with software RAID1, and everything is working perfectly, except that when I pull either of the drives, the system completely hangs and has to be rebooted. The computer is a Tyan Transport GX28, which is alleged to have hot-swappable SATA. I can fail a drive and the system... (1 Reply)
Discussion started by: vertigo23
1 Replies
2. UNIX for Advanced & Expert Users
hi,
i am working on device drivers in linux kernel-2.6.11. Distribution is Mandrake-10.2. Basically i have to port the driver from kernel-2.4 to kernel-2.6.11.
My system hangs,when ever an application calls select.
Basically the kernel code for select,
contains only 2 apis
void poll_wait... (0 Replies)
Discussion started by: sriram.ec
0 Replies
3. Solaris
Hi
using solaris 5.8 on UltraSPARC-IIi 360MHz.
I know it is an old hardware but similiar hardware is running fine. here is the issue,
System booted : works okay for some time then display was hung so system was rebooted ..it gave data access error. again rebooted and it came up... (6 Replies)
Discussion started by: upengan78
6 Replies
4. Solaris
Hi,
today when i started the OS Sun Solaris 10 it hangs on initialization. Following was shown in the end of the screen
Initializing system
Please wait....
*
Please help? (3 Replies)
Discussion started by: malikshahid85
3 Replies
5. UNIX for Dummies Questions & Answers
Hi,
I'm looking to check the compression ratio applied by hardware to work out how much free space we have on tapes.
mt -f /dev/rmt0 status shows:
If I add up the output of the du command and what we backup from the script, it gives me the total space we tape up. So the plan was to find the... (4 Replies)
Discussion started by: rab
4 Replies
6. Solaris
I am running OpenIndiana development version oi_148 32-bit on a seven-year-old Dell Inspiron 8600.
Seems to be running fine except for one particular annoyance: It freezes whenever a system bell/beep plays.
I have mitigated this by turning the system bell off in gnome-terminal, which I use... (3 Replies)
Discussion started by: DeadBadger
3 Replies
7. Red Hat
Hi folks,
I am facing issue of my system (host1) getting hanged after throwing following ntpd messages. I am not able to ssh to the server there after. only option is to restart the host:
Dec 29 02:58:51 host1 ntpd: time reset -0.207907 s
Dec 29 02:58:51 host1 ntpd: synchronisation lost
Dec 29... (0 Replies)
Discussion started by: SiddhV
0 Replies
8. Solaris
Solaris 10 (Sun V210) System hangs every couple of months. Have to go into ALOM to reset. I did a consolehistory report and seen this in it.
Failed to exec inetd_start method of instance svc:/network/bootps/udp:default: I/O error
WARNING: /pci@1c,600000/scsi@2 (glm0):
Resetting... (3 Replies)
Discussion started by: Joeentech
3 Replies
9. Red Hat
Hi,
We're using -
openldap-2.3.43-12.el5_6.5
nss_ldap-253-25.el5
on RHEL-5.5
Intermittently the entire system hangs, no message is present in any of the log files, login to the system fails, ssh fails, ping fails, the only way to recover is to hard-boot the system.
We consulted... (3 Replies)
Discussion started by: TheRock
3 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.44 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)