summaryrefslogtreecommitdiff
path: root/lib/libc/gen/exec.3
Commit message (Collapse)AuthorAgeFilesLines
* mdoc(7): Properly mark C headers.Ruslan Ermilov2003-09-101-1/+1
| | | | Notes: svn path=/head/; revision=119964
* With the latest mdoc(7), we can now fix the synopsis like this.Ruslan Ermilov2003-07-031-3/+9
| | | | | | | Desired by: bde Notes: svn path=/head/; revision=117204
* Add a libc function execvP that takes the search path as an arguement.Gordon Tetlow2003-06-291-7/+24
| | | | | | | | | | | Change execvp to be a wrapper around execvP. This is necessary for some of the /rescue pieces. It may also be more generally applicable as well. Submitted by: Tim Kientzle <kientzle@acm.org> Approved by: Silence on arch@ Notes: svn path=/head/; revision=117030
* Make the execle() synopsis look (again) like a normal C prototype.Ruslan Ermilov2003-06-181-3/+3
| | | | | | | | | | | | Also fixed the rest of ell (list) functions prototypes to include a (commented out) terminating null pointer. Pointed out by: bde Obtained from: POSIX.1-2001 Glanced at by: imp Notes: svn path=/head/; revision=116537
* Fix the execle(3) synopsis to include the environment pointer.Poul-Henning Kamp2003-06-171-1/+1
| | | | | | | Confused: anordby Notes: svn path=/head/; revision=116471
* mdoc(7) police: "The .Fa argument.".Ruslan Ermilov2002-12-191-3/+3
| | | | Notes: svn path=/head/; revision=108087
* mdoc(7) police: "The .Fn function".Ruslan Ermilov2002-12-181-3/+9
| | | | Notes: svn path=/head/; revision=108030
* mdoc(7) police: Use the new .In macro for #include statements.Ruslan Ermilov2001-10-011-1/+1
| | | | Notes: svn path=/head/; revision=84306
* begin executed --> being executedDima Dorfman2001-08-241-1/+1
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=82252
* Remove whitespace at EOL.Dima Dorfman2001-07-151-1/+1
| | | | Notes: svn path=/head/; revision=79754
* Remove duplicate words.Dima Dorfman2001-06-241-1/+1
| | | | Notes: svn path=/head/; revision=78686
* mdoc(7) police: Ft/Vt now accept punctuation-type arguments.Ruslan Ermilov2001-01-121-1/+1
| | | | Notes: svn path=/head/; revision=70974
* Remove fullstops from the end of .Xr lines in SEE ALSO section.Ben Smithurst2000-11-151-1/+1
| | | | Notes: svn path=/head/; revision=68751
* Correct incorrect information about the PATH used for exec*() calls.Jeroen Ruigrok van der Werven2000-10-301-4/+7
| | | | | | | | PR: 21990 Partially submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net> Notes: svn path=/head/; revision=67968
* Whitespace only change: trim trailing whitespace.Jeroen Ruigrok van der Werven2000-10-301-2/+2
| | | | Notes: svn path=/head/; revision=67967
* Introduce ".Lb" macro to libc manpages.Alexey Zelkin2000-04-211-0/+2
| | | | | | | More libraries manpages updates following. Notes: svn path=/head/; revision=59460
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50476
* Fixed searching of $PATH in execvp(). Do what sh(1) should do accordingBruce Evans1997-10-141-17/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to POSIX.2. In particular: - don't retry for ETXTBSY. This matches what sh(1) does. The retry code was broken anyway. It only slept for several seconds for the first few retries. Then it retried without sleeping. - don't abort the search for errors related to the path prefix, in particular for ENAMETOOLONG, ENOTDIR, ELOOP. This fixes PR1487. sh(1) gets this wrong in the opposite direction by never aborting the search. - don't confuse EACCES for errors related to the path prefix with EACCES for errors related to the file. sh(1) gets this wrong. - don't return a stale errno when the search terminates normally without finding anything. The errno for the last unsuccessful execve() was usually returned. This gave too much precedence to pathologies in the last component of $PATH. This bug is irrelevant for sh(1). The implementation still uses the optimization/race-inhibitor of trying to execve() things first. POSIX.2 seems to require looking at file permissions using stat(). We now use stat() after execve() if execve() fails with an ambiguous error. Trying execve() first may actually be a pessimization, since failing execve()s are fundamentally a little slower than stat(), and are significantly slower when a file is found but has unsuitable permissions or points to an unsuitable interpreter. PR: 1487 Notes: svn path=/head/; revision=30399
* Fixed synopsis. The envp arg for execle() can't be given in the prototype.Bruce Evans1997-09-031-2/+2
| | | | | | | Fortunately, the man page doesn't refer to "envp" so just deleting it is OK. Notes: svn path=/head/; revision=29049
* Fixed various problems: typos, grammer, missing include filesMike Pritchard1996-05-231-1/+1
| | | | | | | | wrong function type declarations, and wrong argument type declarations. Notes: svn path=/head/; revision=15874
* Added missing section numbers to a bunch of .Xr macros, orMike Pritchard1996-03-271-5/+5
| | | | | | | | converted them into .Fn macros where appropriate. Also fixed up some minor formatting problems. Notes: svn path=/head/; revision=14855
* Correct a bunch of man page cross references and generallyMike Pritchard1996-02-111-3/+2
| | | | | | | | | try and silence "manck". ncurses, rpc, and some of the gnu stuff are still a big mess, however. Notes: svn path=/head/; revision=14038
* BSD 4.4 Lite Lib SourcesRodney W. Grimes1994-05-271-0/+258
Notes: svn path=/cvs2svn/branches/unlabeled-1.1.1/; revision=1573