Click here to Skip to main content
14,244,070 members

Linux Programming

 
GeneralRe: Linking to library Pin
k50544-Mar-19 7:42
memberk50544-Mar-19 7:42 
GeneralRe: Linking to library Pin
Richard MacCutchan4-Mar-19 9:47
protectorRichard MacCutchan4-Mar-19 9:47 
GeneralRe: Linking to library Pin
k50544-Mar-19 12:45
memberk50544-Mar-19 12:45 
GeneralRe: Linking to library Pin
Richard MacCutchan4-Mar-19 21:44
protectorRichard MacCutchan4-Mar-19 21:44 
QuestionSOLVED system call syntax ? Pin
Vaclav_7-Feb-19 6:40
memberVaclav_7-Feb-19 6:40 
AnswerRe: system call syntax ? Pin
k50547-Feb-19 8:02
memberk50547-Feb-19 8:02 
GeneralRe: system call syntax ? Pin
Vaclav_7-Feb-19 10:23
memberVaclav_7-Feb-19 10:23 
GeneralRe: system call syntax ? Pin
k50547-Feb-19 11:20
memberk50547-Feb-19 11:20 
Let me try this another way.

In your last question to this discussion board (from "ls" to C++ buffer?) you asked about capturing the output from system() into your C++ program. I take it from that, that you know what the system() call does - i.e. calls a system command like ls, or ps or grep, etc. So now you seem to be wanting to call a function provided in the omp.h header via the system() call. That makes no sense to me. The only reason I could think you might want to do that was if you were trying to execute the function as a different user - in which case that is not the way to go about that. So my question stands - why are you trying to wrap what appears to be a normal, ordinary C function call inside a call to system()?

AnswerRe: system call syntax ? Pin
Richard MacCutchan7-Feb-19 22:26
protectorRichard MacCutchan7-Feb-19 22:26 
GeneralRe: system call syntax ? Pin
Vaclav_8-Feb-19 3:23
memberVaclav_8-Feb-19 3:23 
GeneralRe: system call syntax ? Pin
Richard MacCutchan8-Feb-19 4:56
protectorRichard MacCutchan8-Feb-19 4:56 
GeneralRe: system call syntax ? Pin
k50548-Feb-19 5:23
memberk50548-Feb-19 5:23 
GeneralRe: system call syntax ? Pin
Richard MacCutchan8-Feb-19 5:53
protectorRichard MacCutchan8-Feb-19 5:53 
GeneralRe: system call syntax ? Pin
Vaclav_8-Feb-19 9:42
memberVaclav_8-Feb-19 9:42 
GeneralRe: system call syntax ? Pin
k50548-Feb-19 10:03
memberk50548-Feb-19 10:03 
GeneralRe: system call syntax ? Pin
Vaclav_8-Feb-19 14:37
memberVaclav_8-Feb-19 14:37 
GeneralRe: system call syntax ? Pin
Richard MacCutchan8-Feb-19 22:27
protectorRichard MacCutchan8-Feb-19 22:27 
Questionfrom "ls" to C++ buffer? Pin
Vaclav_15-Jan-19 4:03
memberVaclav_15-Jan-19 4:03 
AnswerRe: from "ls" to C++ buffer? Pin
k505415-Jan-19 6:02
memberk505415-Jan-19 6:02 
GeneralRe: from "ls" to C++ buffer? Pin
Vaclav_15-Jan-19 9:10
memberVaclav_15-Jan-19 9:10 
GeneralRe: from "ls" to C++ buffer? Pin
k505415-Jan-19 20:37
memberk505415-Jan-19 20:37 
AnswerRe: from "ls" to C++ buffer? Pin
Vaclav_15-Jan-19 14:30
memberVaclav_15-Jan-19 14:30 
GeneralRe: from "ls" to C++ buffer? Pin
Richard MacCutchan15-Jan-19 21:24
protectorRichard MacCutchan15-Jan-19 21:24 
GeneralRe: from "ls" to C++ buffer? Pin
Vaclav_16-Jan-19 7:05
memberVaclav_16-Jan-19 7:05 
GeneralRe: from "ls" to C++ buffer? Pin
Richard MacCutchan16-Jan-19 8:20
protectorRichard MacCutchan16-Jan-19 8:20 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.