12-11-2006
hi,
Thank you for your kind recommendation.
I am using SCO unix.
cheers
Ravi Raj Kumar
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Is there any way of creating a 'catchall' or a default account that all undelivered mail can go to ?
eg if we have 3 user accounts (user1, user2, admin) already set up, but someone sends an email to user3@mydomain.com, can sendmail figure out that it doesn't match any existing users and deliver... (6 Replies)
Discussion started by: captainash
6 Replies
2. UNIX for Dummies Questions & Answers
Dear All,
This is my first post, so greetings to you all! :cool:
I have root access to a UNIX system, yet I would like to be able to create user accounts with special privileges and roles such i.e. a User Manager account a Print Manager Account or even an account with the same roles and... (2 Replies)
Discussion started by: neked
2 Replies
3. Post Here to Contact Site Administrators and Moderators
I tried to create an account, user name Ralph.Armstrong using my corporate e-mail address.
Unfortunately, I think my company's e-mail server must have blocked the confirming e-mail because I never got it.
I then created another account, user name Ralph Armstrong using my personnal e-mail... (0 Replies)
Discussion started by: Ralph Armstrong
0 Replies
4. UNIX for Dummies Questions & Answers
does any know how I can create more admin login accounts in unix? would there be a file somewhere that would have a list of these accounts?
thanks,
gammaman (3 Replies)
Discussion started by: gammaman
3 Replies
5. UNIX for Dummies Questions & Answers
Hi!
I'm new here so please let me know if this topic is in the wrong place. I have very little experience with UNIX systems, but my father has one running on his PC at work which he uses to browse through old reports related to his work. The PC is rather old (in computer years :) ) I think he... (3 Replies)
Discussion started by: GIJane
3 Replies
6. UNIX for Dummies Questions & Answers
Hi
How do I create a new account with a specific group and home directory specified?
TIA (2 Replies)
Discussion started by: domburf69
2 Replies
7. UNIX for Dummies Questions & Answers
Thanks
AVKlinux (3 Replies)
Discussion started by: avklinux
3 Replies
8. Programming
Dear Friend,
I am working on java application which requires that after successful registration an email account is created (say username@mydomain.com) for user. Is is possible to create e-mail account programatically ?
Enviornment - CentOs, Tomcat Web server.
CPanel is available, but... (0 Replies)
Discussion started by: reckless_jack
0 Replies
9. Solaris
Hi All,
I want to create an user account which can only excute "df -kh" and "prstat -a" command. The user will not be able to perform "rm" and other critical commands.
Is there a way to do it?
rgds,
Ronny (2 Replies)
Discussion started by: ronny_nch
2 Replies
10. Solaris
Hi
I need to create a new user account in salaries. Can anyone tell me the cmd to create the new user acc. But the main thing is it should same permissions ,same group etc of already existing group.
For example we have already one user in name “comp” so the newly created user should also have... (3 Replies)
Discussion started by: kkalyan
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.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)