Sponsored Content
Homework and Emergencies Homework & Coursework Questions Help with Execl system call in a C program? Post 302898422 by Perderabo on Tuesday 22nd of April 2014 06:06:22 AM
Old 04-22-2014
You are creating the file. Pay attention to where you put it.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to differentiate system call from library call

Hi, Ho do I differentiate system call from library call? for example if I am using chmod , how do I find out if it is a system call or library call? Thanks Muru (2 Replies)
Discussion started by: muru
2 Replies

2. Programming

parent not waiting until child complete executing another program through execl()

Hi, I am calling a program that greps and returns 72536 bytes of data on STDOUT, say about 7000 lines of data on STDOUT. I use pipe from the program am calling the above program. Naturally, I execute the above program (through execl() ) throught the child process and try to read the... (4 Replies)
Discussion started by: vvaidyan
4 Replies

3. Shell Programming and Scripting

how to call another program

Hi, I would like to know how to call a program "cmp_size" ... where to put in progam to run it ex: program checkdisk is below, and it will call a nother problem "cmp_size" Do I just put the cmp_size program at the end of this program. Thank you very much, # check all directory for size... (3 Replies)
Discussion started by: xitrum
3 Replies

4. Programming

A question about the system call mount in a C program

Dear all, Currently I'm working on a C program (OS = ubuntu 9.0.4)in which a USB key will be mounted and umounted for several times. I read the man page of the mount system call. I use the following test code #include <sys/mount.h> int main(int argc, char *argv) { if... (5 Replies)
Discussion started by: dariyoosh
5 Replies

5. Shell Programming and Scripting

Run shell script from C program by calling fork and execl

I need to write a c program that uses the fork and excel system calls to run the shell script mode invoked like this: "./mode 644 ls -l" (that is the argumetns will always be 644 ls -l) here's the mode script: #!/bin/sh octal="$1" shift find . -maxdepth 1 -perm $octal -exec $@ {} \; ... (3 Replies)
Discussion started by: computethis
3 Replies

6. Shell Programming and Scripting

Call a mainframe program

Is it possible to call a mainframe program in UNIX script. I am using HP-UNIX. If so can any let me know the way to do it. (1 Reply)
Discussion started by: atlantis
1 Replies

7. Programming

Notification email in C program, via system call? or?

Hello everyone! I'm quite new here, but this forum helped me a lot before without registering :-) I'll go directly to my problem, I have been searching a bit about this issue but I was not successful. I need to write a program in C code to notificate me (to my email) when some action is done... (7 Replies)
Discussion started by: RoNNo
7 Replies

8. Homework & Coursework Questions

program to send messages to parent using pipes and select system call

Write a program using select, which will create some number of child processes that continuously send text messages to the parent process using pipes. Each child has its own pipe that it uses to communicate with the parent. The parent uses select () to decide what pipes should be processed to... (1 Reply)
Discussion started by: ripssingh
1 Replies

9. Shell Programming and Scripting

printf before execl system call

main() { printf("before execl"); execl("/home/nirmala/os/fact","fact"); printf("this line will not be printed"); } for the above program ,the obj file of fact.c is getting loaded correctly.am getting the output as... factorial =6 but in ouput am not getting the string given in... (2 Replies)
Discussion started by: pnirmala
2 Replies

10. Programming

call program

I would need to call the program 'ethtool' in my C++ program, does anyone know how to do that (if its even possible)? (1 Reply)
Discussion started by: Freaky123
1 Replies
Business::PayPal::API::MassPay(3pm)			User Contributed Perl Documentation		       Business::PayPal::API::MassPay(3pm)

NAME
Business::PayPal::API::MassPay - PayPal MassPay API SYNOPSIS
use Business::PayPal::API::MassPay; ## see Business::PayPal::API documentation for parameters my $pp = new Business::PayPal::API::MassPay ( ... ); my %response = $pp->MassPay( EmailSubject => "Here's your moola", MassPayItems => [ { ReceiverEmail => 'joe@somewhere.tld', Amount => '95.44', Note => 'Thanks for your stuff!' }, { ReceiverEmail => 'bob@elsewhere.tld', Amount => '15.31', Note => 'We owe you one' }, ] ); ); DESCRIPTION
Business::PayPal::API::MassPay implements PayPal's Mass Pay API using SOAP::Lite to make direct API calls to PayPal's SOAP API server. It also implements support for testing via PayPal's sandbox. Please see Business::PayPal::API for details on using the PayPal sandbox. MassPay Implements PayPal's Mass Pay API call. Supported parameters include: EmailSubject MassPayItems The MassPayItem parameter is a list reference of hashrefs, each containing the following fields: ReceiverEmail Amount UniqueId Note as described in the PayPal "Web Services API Reference" document. Returns a hash containing the generic response structure (as per the PayPal Web Services API). Example: my %resp = $pp->MassPay( EmailSubject => "This is the subject", MassPayItems => [ { ReceiverEmail => 'joe@test.tld', Amount => '24.00', UniqueId => "123456", Note => "Enjoy the money. Don't spend it all in one place." } ] ); unless( $resp{Ack} !~ /Success/ ) { die "Failed: " . $resp{Errors}[0]{LongMessage} . " "; } ERROR HANDLING See the ERROR HANDLING section of Business::PayPal::API for information on handling errors. EXPORT
None by default. SEE ALSO
<https://developer.paypal.com/en_US/pdf/PP_APIReference.pdf> AUTHOR
Scot Wiersdorf <scott@perlcode.org> COPYRIGHT AND LICENSE
Copyright (C) 2007 by Scott Wiersdorf This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.5 or, at your option, any later version of Perl 5 you may have available. perl v5.14.2 2009-12-07 Business::PayPal::API::MassPay(3pm)
All times are GMT -4. The time now is 03:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy