12-18-2003
Hey, I tried that command that you posted for me and I got two error messages. "find: incomplete statement" and "sequentialInsert;: Command not found". Do you know what I'm doing wrong here? Thanks for the help.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have a function or script like this.
show()
{
echo "Hi"
} | tee -a log
show
This creates a logfile and prints Hi in it. Now when I try to do the same for sql like this:
show()
{
sqlplus -s scott/tiger<<!
select * from details;
!
} | tee -a log
show
Then it gives me a... (2 Replies)
Discussion started by: sendhilmani
2 Replies
2. Shell Programming and Scripting
hi
could anybody please suggest me how to put a function memory for particular user.
say i am a user rao. want have a function foo in memory .
i have done this .typed the function function in the shell it worked for the session.but next time i do login its not there .
i can i have a... (6 Replies)
Discussion started by: Raom
6 Replies
3. Shell Programming and Scripting
Hi,
I have a challenging task,in which i have to find the duplicate files by its name and size,then i need to take anyone of the file.Then i need to open the file and find for more than one pattern and count of that pattern.
Note:These are the samples of two files,but i can have more... (2 Replies)
Discussion started by: jerome Sukumar
2 Replies
4. Shell Programming and Scripting
Hi
my shell is tcsh
can I have functions in my shell scripting?
Is the below shell script correct.
Can I have two functions and call one of them as required.
----------
echo "functions"
f1
f1 ()
{ echo "hello" }
f2 () (1 Reply)
Discussion started by: amitrajvarma
1 Replies
5. UNIX for Dummies Questions & Answers
I want to write a shell script which traverses a cpp file.
Suppose there is function fncn_name6 .. which is called by fncn_name5
which in turn called by fncn_name4 and so on .. in a single cpp class.
ie
fncn_name1
{
fncn_name2
{
fncn_name3
}
{
fncn_name4
}
}
so fncn_name1 is... (2 Replies)
Discussion started by: ultimatix
2 Replies
6. Shell Programming and Scripting
I have korn shells where I want to create a function passing $1 to a function , determine my $STAT_ENV value, set the paths and return
the paths for STATSH,STATPRM,STATSQR,STATSQL,STATCTL TO BE USED IN THE UNIX SCRIPT THE CALLED THE fucnction in the first place.
Can someone tell me the best... (2 Replies)
Discussion started by: TimHortons
2 Replies
7. Shell Programming and Scripting
I'm semi new to unix/linux and am trying to convert a program I wrote in C++ to a bash script. It's a program that prints Fibonacci's series. I have found scripts that will do it, but I'm trying persistently to get this one to work. The problem occurs when I try to return a value from the function.... (3 Replies)
Discussion started by: Glowworm
3 Replies
8. UNIX for Dummies Questions & Answers
Hey I have a question....
what is the difference between using == vs -eq when testing in WHILE loops.
I use the following test that only worked with == signs....
if
why do i need == and not -eq?
2. I need to re-use some code in a couple places in this script. is functions my best... (5 Replies)
Discussion started by: danieldcc
5 Replies
9. Programming
Hi All,
Can any one help me.
I am calling in a function2 with string as parameter from function1, the function1 gives 3 values. how i get the 3 values from funciton2 to function1. i have to give a return or something.
thanks in advance. (2 Replies)
Discussion started by: uday.sena.m
2 Replies
10. Shell Programming and Scripting
I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line
if
then... (8 Replies)
Discussion started by: saku
8 Replies
LEARN ABOUT DEBIAN
rdma_post_recvv
RDMA_POST_RECVV(3) Librdmacm Programmer's Manual RDMA_POST_RECVV(3)
NAME
rdma_post_recvv - post a work request to receive incoming messages.
SYNOPSIS
#include <rdma/rdma_verbs.h>
int rdma_post_recvv (struct rdma_cm_id *id, void *context, struct ibv_sge *sgl, int nsge);
ARGUMENTS
id A reference to a communication identifier where the message buffer(s) will be posted.
context User-defined context associated with the request.
sgl A scatter-gather list of memory buffers posted as a single request.
nsge The number of scatter-gather entries in the sgl array.
DESCRIPTION
Posts a single work request to the receive queue of the queue pair associated with the rdma_cm_id. The posted buffers will be queued to
receive an incoming message sent by the remote peer.
RETURN VALUE
Returns 0 on success, or -1 on error. If an error occurs, errno will be set to indicate the failure reason.
NOTES
The user is responsible for ensuring that the receive is posted, and the total buffer space is large enough to contain all sent data before
the peer posts the corresponding send message. The message buffers must have been registered before being posted, and the buffers must
remain registered until the receive completes.
Messages may be posted to an rdma_cm_id only after a queue pair has been associated with it. A queue pair is bound to an rdma_cm_id after
calling rdma_create_ep or rdma_create_qp, if the rdma_cm_id is allocated using rdma_create_id.
The user-defined context associated with the receive request will be returned to the user through the work completion wr_id, work request
identifier, field.
SEE ALSO
rdma_cm(7), rdma_create_id(3), rdma_create_ep(3), rdma_create_qp(3), rdma_reg_read(3), ibv_reg_mr(3), ibv_dereg_mr(3), rdma_post_recv(3),
rdma_post_send(3)
librdmacm 2010-07-19 RDMA_POST_RECVV(3)