| | |
exec() POSIX calls
![]() |
•
•
Join Date: May 2008
Posts: 43
Reputation:
Solved Threads: 0
OKay, this is in response to the same issues I've been dealing with in another thread.
In that one, someone gave me the documentation to the the POSIX calls, but they were vague and weren't too descriptive.
I don't know what exactly each one of the calls do. I only know the general arguments. I assume that they all create new processes, with each variant being simply another means to take in different arguments.
However, in using one of them - execv - I found a warning was thrown from compiler. The code it didn't like was the line where I have a structure which looks similar to the type of argsv but my compiler didn't think so.
I didn't want to include the entire argv line but only including two members from that set. Does anyone know of an example of such that they can show me? And, can some one direct me to a website that will explain exec in better detail? I don't really know what I'm doing to be honest, here. Any and all help is greatly appreciated.
Thank-you.
In that one, someone gave me the documentation to the the POSIX calls, but they were vague and weren't too descriptive.
I don't know what exactly each one of the calls do. I only know the general arguments. I assume that they all create new processes, with each variant being simply another means to take in different arguments.
However, in using one of them - execv - I found a warning was thrown from compiler. The code it didn't like was the line where I have a structure which looks similar to the type of argsv but my compiler didn't think so.
I didn't want to include the entire argv line but only including two members from that set. Does anyone know of an example of such that they can show me? And, can some one direct me to a website that will explain exec in better detail? I don't really know what I'm doing to be honest, here. Any and all help is greatly appreciated.
Thank-you.
![]() |
Similar Threads
- ambiguous part 3 (C)
Other Threads in the C Forum
- Previous Thread: output error in a simple C program for some values only
- Next Thread: Windows API equivalent in Linux
| Thread Tools | Search this Thread |
#include * adobe ansi api array asterisks binarysearch centimeter changingto char character cm copyimagefile cprogramme creafecopyofanytypeoffileinc csyntax database directory dynamic execv feet fgets file fork function getlasterror getlogicaldrivestrin givemetehcodez global grade gtkgcurlcompiling gtkwinlinux hacking hardware highest histogram ide include incrementoperators infiniteloop input interest kernel keyboard kilometer license linked linkedlist linux linuxsegmentationfault list locate logical_drives looping loopinsideloop. lowest match matrix meter microsoft motherboard mqqueue number odf opendocumentformat opensource owf pattern pdf performance pointer posix probleminc process program programming radix recursion recv repetition research reversing segmentationfault sequential single socket socketprograming standard string systemcall threads turboc unix user voidmain() wab whythiscodecausesegmentationfault windows.h windowsapi






