07-09-2007
Change /etc/default/issue
7 More Discussions You Might Find Interesting
1. AIX
hello
I send a message with sendmail command:
echo "toto" | sendmail titi@up.com
but i don't know how put a title in the message !
(i find nothing in the man)
thank you (2 Replies)
Discussion started by: pascalbout
2 Replies
2. UNIX for Dummies Questions & Answers
Is there a quick way to change the title of a shelltool or cmdtool window? Currently it reads "shelltool - /bin/csh".
Thanks.
edit: for Solaris 8, csh... (0 Replies)
Discussion started by: Yinzer955i
0 Replies
3. Shell Programming and Scripting
Hello,
I want to write a ksh script about changing UID and changing group with GID. There are multiple servers i want to perform that job.
linux1
linux2
linux3
linux4
linux5 ......
.
.
.
.
.
1.) How can i enter "password" in script rather asking me?
I was trying this...
ssh... (2 Replies)
Discussion started by: deal732
2 Replies
4. UNIX for Advanced & Expert Users
Is it possible to set the PuTTY title to show the current hostname of the terminal opened?
I meant to say I would be rlogin between servers, that should be updated in PuTTTY title ? :confused: (4 Replies)
Discussion started by: ./hari.sh
4 Replies
5. Web Development
So I installed the latest version of nagios on my servers here. and the title of the page says "Nagios Core". I'd like to change this to somethign else that reflects what purpose the particular web interface being viewed serves.
where do i go to change this?
i'm running apache2 on my... (2 Replies)
Discussion started by: SkySmart
2 Replies
6. Post Here to Contact Site Administrators and Moderators
In the past some typos have occurred in my post titles. Changing the title of a post is not possible for registered users however, but occasionally the admins are kind enough to do it for me. Will this functionality come available for registered users as well, regardless of whether there are... (1 Reply)
Discussion started by: figaro
1 Replies
7. Shell Programming and Scripting
need a bit of help please
i have a htmlfile
in the file there is a long list of txt
each line has a different title
i want to extract all the titles with
egrep, sed, awk, and save them to a txt.file
example extract the bits in red
from this
<h3... (8 Replies)
Discussion started by: bob123
8 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.25 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)