creation variable


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting creation variable
# 1  
Old 03-31-2006
what wrong with me

I want to define a variable like this. Can i declare such type?
I have already define this, but error is displaying sysntax error. So tell me what will be the write.

int create_mailfile(int,char*,char*,char*,char*,char*,char*);

Last edited by debasis.mishra; 03-31-2006 at 05:16 AM.. Reason: change caption and body
# 2  
Old 03-31-2006
Quote:
Originally Posted by debasis.mishra
I want to define a variable like this. Can i declare such type?
I have already define this, but error is displaying sysntax error. So tell me what will be the write.

int create_mailfile(int,char*,char*,char*,char*,char*,char*);

this is your fn signature,
why do you call it as variable ?


Could you please provide some more info?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Symlink creation

I am trying to setup my plex server to use symlinks rather than host the movie files. in my storage directory, i have both movies(some in subdirectory of the name and some just in the parent directory) and tvshows, which have subdirectories for each season, which contains the episodes i would... (3 Replies)
Discussion started by: bandion
3 Replies

2. UNIX for Dummies Questions & Answers

Dynamic Variable creation

I am trying to create some variables based on the input by the user, say if user entered 3 then 3 variables and if 5 then 5 variables. I am using a for loop for (( i=1; i <= $num; i++ )) do x="num" x+=$i done When i am using echo $x it will show num1 but now how to create variables... (3 Replies)
Discussion started by: Raj999
3 Replies

3. Solaris

Solaris10 Package Creation with variable

Dear All, I am trying to build a solaris package with a variable, so that it can be installed with an environment. The prototype file contains the variables for user and group that can be parameterised during the package installation. The following is the prototype file and the error when ... (2 Replies)
Discussion started by: sanchan
2 Replies

4. AIX

LPAR creation

can i get a step b syep explanation in creating LPAR... i have searched for tutorials i couldn't find the right one.... (2 Replies)
Discussion started by: udtyuvaraj
2 Replies

5. Shell Programming and Scripting

How to define a variable with variable definition is stored in a variable?

Hi all, I have a variable say var1 (output from somewhere, which I can't change)which store something like this: echo $var1 name=fred age=25 address="123 abc" password=pass1234 how can I make the variable $name, $age, $address and $password contain the info? I mean do this in a... (1 Reply)
Discussion started by: freddy1228
1 Replies

6. Shell Programming and Scripting

thread creation

Void *fork_thread( void *ptr ) i am getting error in this line please help me out (1 Reply)
Discussion started by: annapurna konga
1 Replies

7. Solaris

User creation

Hi all, I want to create one user with full permissions to one directory called /opt/tivoli/tsm/client/ba/bin. Name for the user Tivoli Thanks & Regards Babu (7 Replies)
Discussion started by: lbreddy
7 Replies

8. Linux

creation of a file

how to create a file with the same modification time as another file is having using the copy command? (1 Reply)
Discussion started by: infyanurag
1 Replies

9. Filesystems, Disks and Memory

Filesystem Creation

What are the Steps involved in Creating Filesystem on Unix Box. Sun solaris 5.8 installed on this box (1 Reply)
Discussion started by: abdulmunaf
1 Replies

10. UNIX for Dummies Questions & Answers

alias creation

I am trying to set up an alias called "fire" that will allow me to pass an argument(s) along with the command. #fire program1 restart the fire alias should resolve to "/etc/rc.d/init.d/" and then stick the "program1" immediatly after the trailing slash so it appears as one command with one... (4 Replies)
Discussion started by: randyreese
4 Replies
Login or Register to Ask a Question