11-23-2009
Any messages like duplicate ip somewhere else?
What happens if you restart tcp - /etc/tcp stop; /etc/tcp start ?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Does anyone know of any good imaging tools that can be used to create an image of a Sco-Unix box? (2 Replies)
Discussion started by: gmrfh1
2 Replies
2. UNIX for Dummies Questions & Answers
I am using the Linksys router as my hub to network my Win 2000 PC and Unix box to the cable modem. However, I can only get connection for my Win 2000 PC. The Unix box was able to get connection initially (yesterday) but when I reboot the machine this morning, the network went dead. What did I do... (6 Replies)
Discussion started by: conflansun
6 Replies
3. Solaris
I have a network, which consists of 3 windows machines, how would i get my solaris box onto this nextwork? (15 Replies)
Discussion started by: possuman72
15 Replies
4. Solaris
How would i get my solaris 10 box to run on my network? (1 Reply)
Discussion started by: possuman72
1 Replies
5. UNIX for Advanced & Expert Users
Hello,
Can anyone tell me why the command below will not work on a SCO box, but does fine on aix, suse boxes. Thanks.
echo "test" | mail -s "Test" test@test.com
Course the email address I just faked out for sample purpose. I see from the it gives the following error below. I also changed... (0 Replies)
Discussion started by: benefactr
0 Replies
6. SCO
need it to be able to run Seagate STT8000A tape drive. Any suggestions where to go. (5 Replies)
Discussion started by: Mike Gomes
5 Replies
7. Shell Programming and Scripting
Hello Guys ,
I have been working on a script where we are looking to connect a remote Xserver from a Unix box. Once a connection is made , i need to run several commands on remote machine to check various stuffs.
As per my knowledge on unix (which is like a drop in ocean) , i found SSH as a... (7 Replies)
Discussion started by: himanshu sood
7 Replies
8. Solaris
I installed a fresh copy of Solaris 7 and present up my ip and domain for my web services but when I try to connect to it I get the following error;
TCPActiveOpen: connect failed tcp/192.168.1.148/7900: 146 (Connection refused).
the port is open in my router but I don't no were to add it in... (5 Replies)
Discussion started by: Wpgn
5 Replies
9. Solaris
Hi!
I am having a problem when logging in on a solaris 10 server, after typing one or two commands, I lose connectivity, with the following message:
server unexpectedly closed network connection
I have checked the following:
grep `uname -n` /etc/inet/hosts /etc/inet/ipnodes... (8 Replies)
Discussion started by: fretagi
8 Replies
10. AIX
Hello All,
I have a strange problem and I'm hoping someone can help. I honestly don't know where else to look.
I have a number of AIX boxes in my environment and for some reason I would periodically lose connectivity to all services (except ping) to one of my boxes. It happens sporadically... (2 Replies)
Discussion started by: bbbngowc
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.53 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)