01-23-2002
it werks thanks
ok.. i got it to work.. i did two things at the same time so i dont know which one actually did it..
i added my dns ip addy to resolve.conf
then i did route add 0.0.0.0 10.0.0.254
everything seems to be aok now...
thanks for respoding to my post.
e0-
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
hello there! :)
i'm a newbie here...and i have a question, how can you logout while you're chatting in commode?
thanx!
:) (2 Replies)
Discussion started by: hapiworm
2 Replies
2. Shell Programming and Scripting
Now my task is
there are two servers A and B.
i only can put unix script in server A and database is on server B.
can I write a script in serer A which could telnet to server B and run the script which include sql script and save the output file in server A.
did I make my problem clear? (2 Replies)
Discussion started by: YoYo
2 Replies
3. AIX
I have some AIX 4.3 machines which have disabled root telnet access.
When you run su - once logged on the machine requests a password and if one is supplied correctly it asks for another users password.
How do I configure this?
Any help is appreciated.
Thank you (0 Replies)
Discussion started by: uXion
0 Replies
4. Windows & DOS: Issues & Discussions
iam loging into unix server from windows using telnet service
how to upload a text file (or)file into my user account in linux
i dont have root privilages (1 Reply)
Discussion started by: seshumohan
1 Replies
5. Shell Programming and Scripting
Per the title really. Looking for 16 digit numbers in various log files:
grep "\{16\}" *.log
...works, but obviously includes log lines that have longer numbers. The numbers in question can come at the beginning, middle or end of the line, hence the thread's title, which doesn't work:
grep... (1 Reply)
Discussion started by: cs03dmj
1 Replies
6. Shell Programming and Scripting
Somewhat long story:
I have a simple Perl CGI script that uses Expect to Telnet to a device and grab some data, and then spits it back to Perl for display on the Webpage.
This works for many devices I've tried, but one device just fails, it keeps rejecting the password on this device, only... (1 Reply)
Discussion started by: jondo
1 Replies
7. Shell Programming and Scripting
Hi All,
I want check current whether client servers is able to connect to about 10 servers on a particular port .
When i am trying with telnet its hunging up after checking...Can pls suggest how to come out telnet after checking.
# telnet 129.39.13.38 9494
Trying...
Connected... (5 Replies)
Discussion started by: ram1729
5 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I was writing one script which includes to switch to the another telnet automatically from the present telnet server. I was using rlogin but firstly it takes the same user name of the present telnet and secondly it is prompting for the password.
But i want to switch to the another telnet... (2 Replies)
Discussion started by: Prateek
2 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I want to know the difference between these two services. Both are under xinetd. Both are used for enabling and disabling Telnet service. So, can somebody please explain me the difference between the two ?
Thanks in advance :) (0 Replies)
Discussion started by: kashifsd17
0 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)