05-11-2006
wait im working and reply u soon. ;-D
10 More Discussions You Might Find Interesting
1. Programming
How can I get the present working directory in unix system using c programming and stored it in a string ?? (0 Replies)
Discussion started by: winsonlee
0 Replies
2. UNIX for Dummies Questions & Answers
I need to CD to a particular directory to check log files and interface files. Instead of typing the path manually, is there a way of getting a script to change my working directory to the one I need?
Currently I have a script that CD's to the directories I need but a soon as the script exits,... (5 Replies)
Discussion started by: jagannatha
5 Replies
3. Solaris
Hi,
On solaris 10, t5120,
I don't understand what are the last 2 file systems
so last 2 file systems what are they, why are they getting shown and also confused why the swap is shown so many times and different size when I set it to 16 G at the time of installing solaris 10. ( rest... (3 Replies)
Discussion started by: upengan78
3 Replies
4. HP-UX
how could I use c program to get HP UX process working directory (1 Reply)
Discussion started by: alert0919
1 Replies
5. Shell Programming and Scripting
Can someone tell me how do i set my current working directory in my prompt?
Note: I dont want to use env variable PWD and using `pwd` gives me only my home directoy. suggest a different way ?
I use /bin/sh
thanks!! (3 Replies)
Discussion started by: yesmani
3 Replies
6. Shell Programming and Scripting
how to traverse through each directory (1 Reply)
Discussion started by: Reddy482
1 Replies
7. Shell Programming and Scripting
Hi all
I would like to crontab some python script I have.
These have the task to write a txt file on the same directory where they are let' say 'scriptFolder'.
When I schedule the script execution with crontab the file is printed out somewhere else.
Is there any way to tell crontab that for... (2 Replies)
Discussion started by: manustone
2 Replies
8. Shell Programming and Scripting
how to put pwd in my file
my working directory is /usr/my_dir
below my file
aaaaaa
bbbbbb
so output file become
/usr/my_dir
aaaaaa
bbbbbb (2 Replies)
Discussion started by: zulabc
2 Replies
9. UNIX for Dummies Questions & Answers
Hi all,
How do I print the name of my current working directory only to screen?
Not pwd!
For example, if I was in /home/work I am looking for 'work' only (4 Replies)
Discussion started by: jimjam
4 Replies
10. Shell Programming and Scripting
Hi,
I am trying to add for loop in my code for all the .gz files in a directory.
example code:
for i in $PWD/input/*.dz
do
echo " file is :: $i "
done
This is not working as expectation and the output is :
file is :: /home/IB/input/*.dz
However, for i in $PWD/input/*... (5 Replies)
Discussion started by: IB_88
5 Replies
LEARN ABOUT DEBIAN
pvm_setmwid
SETMWID(3PVM) PVM Version 3.4 SETMWID(3PVM)
NAME
pvm_getmwid, pvm_setmwid - Get or set wait ID of a message.
[In Version 3.4: Relaced by pvm_getminfo and pvm_setminfo]
SYNOPSIS
C int info = pvm_getmwid( int bufid )
int info = pvm_setmwid( int bufid, int waitid )
Fortran Not Available
PARAMETERS
bufid Message buffer identifier.
waitid Wait identifier number.
DESCRIPTION
A wait identifier is part of a message (like the source, destination, tag and body). It is used to match a reply to the corresponding
request.
The default wait ID for a message is zero (none).
pvm_getmwid returns the wait ID associated with a message buffer, or a negative error code.
pvm_setmwid assigns a new wait ID to a message buffer. It returns PvmOk unless an error occurs.
EXAMPLES
int src, tag;
pvm_recv(-1, -1);
/* ... process, compose reply message */
pvm_setmwid(pvm_getsbuf(), pvm_getmwid(pvm_getrbuf()));
pvm_bufinfo(pvm_getrbuf(), (int *)0, &tag, &src);
pvm_send(src, tag);
ERRORS
The following error conditions can be returned by pvm_getmwid or pvm_setmwid:
PvmBadParam
Invalid value for bufid argument.
PvmNoSuchBuf
Message buffer bufid doesn't exist.
SEE ALSO
pvm_bufinfo(3PVM)
18 May, 1994 SETMWID(3PVM)