Unix questions - exec

This is Interesting: Free IT Magazines  
Home > Archive > Unix questions > October 2005 > exec





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author exec
friend.05@gmail.com

2005-10-28, 4:53 pm

I am using exec in following way.

execl("/usr/bin/cksum","/usr/bin/cksum",rfile,(char*)NULL))


But I want to store the output in file. Like I can do on command line (
cksum filename > tempfile). How can I do this using exec.

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com