04-22-2002
Try typing "man execl". You will get a manual page describing the exact syntax of each of those system calls.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
what's the difference between the two? (3 Replies)
Discussion started by: hurleyint1386
3 Replies
2. Programming
Hi,
Is it possible to run a program from my C program using only the full pathname?
for example if I wanna call: "ls", so I whould have to use:
execl("/bin/ls", "ls", NULL);
Is it possible to do this using only:
"/bin/ls"
thanks (1 Reply)
Discussion started by: owijust
1 Replies
3. Programming
can anyone explain how to pass arguments of a program in execl function
pls explain with a sample code. (2 Replies)
Discussion started by: bankpro
2 Replies
4. Shell Programming and Scripting
I want to make simultanous sh commands in an exec command
for example I want to counts the lines in a file
wc -l my file.txt | awk -F" " '{print $1}'` works fine in sh but I want to implement it in a c code
the first part works like this
execl("/usr/bin/wc", "wc", "-l", "myfile.txt",... (1 Reply)
Discussion started by: walnut
1 Replies
5. Programming
hello everybody
how can i time the execution of execl() command inside my C code?
for example, i wrote..
execl("md5sum","md5sum","myprog",NULL);
i want to count the duration of the execl command!
thanx in advance! (2 Replies)
Discussion started by: nicos
2 Replies
6. Red Hat
how to use find command in execl function,
I used:
execl("/usr/bin/find","find","~","-name","filename.c",0); but it shows
find: ~ no file and directory i need to get the path of the file from the home .:wall: (2 Replies)
Discussion started by: Mahendravarma
2 Replies
7. Programming
when execl fails using the command lss, it doesnt go into the next line
execl("/bin/sh", "/bin/sh", "-c", command, NULL);
perror("execl failed"); exit(127);
for some reason the child process just stops and also the parent process also stops
so the line after the line that... (3 Replies)
Discussion started by: omega666
3 Replies
8. Programming
Hi, I have two programs, one is named "Master" and the other one "slave". What I want to do is , when I execute Master, inside slave will be called by excecl, do some calculations, and send those to the master program... A little example of what I am failing to do:
if ((PID1=fork())==0) { //... (6 Replies)
Discussion started by: lamachejo
6 Replies
9. Programming
Hi All,
I have a program for class that needs to do the following:
1. Print the directory entries from the current directory using ncurses
2. Provide a prompt next to each directory entry and allow the user to enter commands that may or may not be about the file
3. Execute those commands in... (1 Reply)
Discussion started by: afulldevnull
1 Replies
10. UNIX for Beginners Questions & Answers
Hi,
If I write in a c file :
execlp("date","date",NULL);
printf("A\n");
And then run through the terminal would "A" be printed ?
I understood that execlp will exit the program after it finished so the next lines of code won`t be executed afterwards.. Is that true ? (1 Reply)
Discussion started by: uniran
1 Replies
LEARN ABOUT CENTOS
po4aman-display-po
PO4AMAN-DISPLAY-PO(1) Po4a Tools PO4AMAN-DISPLAY-PO(1)
NAME
po4aman-display-po - display a translated man page according to a PO
SYNOPSIS
po4aman-display-po -p PO_FILE [-m MASTER_FILE] [-o PO4A_OPT]
DESCRIPTION
po4aman-display-po can be used by a translator who wants to check how the man page being translated in a PO will be displayed.
The manual page must be in one of the formats supported by the po4a's man module. The manual page can be provided on the command line, or
installed on the system.
Manual pages generated from other formats, like DocBook or POD, are not supported. See po4apod-display-po(1) for an equivalent supporting
POD documents.
OPTIONS
-p PO_FILE
The PO file containing the translations.
-m MASTER_FILE
The original man page. It can be the absolute or relative path to the original man page (gzipped or not), the name the man page or the
name and section of the man page (using the man.section format). When the master document is not provided with the -m option,
po4aman-display-po tries to find the original man page based on the line reference of the first string in the PO.
-o PO4A_OPT
Some options to pass to po4a-translate(1).
SEE ALSO
po4apod-display-po(1)
AUTHOR
Thomas Huriaux
Po4a Tools 2006-04-08 PO4AMAN-DISPLAY-PO(1)