Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
felixmoebius
libc
Commits
b232c9be
Unverified
Commit
b232c9be
authored
4 years ago
by
Yuki Okushi
Committed by
GitHub
4 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #1856 from BasixKOR/win-execl
Add execl* functions on Windows
parents
6ff0689d
1bd882e9
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/windows/mod.rs
+29
-0
29 additions, 0 deletions
src/windows/mod.rs
with
29 additions
and
0 deletions
src/windows/mod.rs
+
29
−
0
View file @
b232c9be
...
@@ -444,6 +444,35 @@ extern "C" {
...
@@ -444,6 +444,35 @@ extern "C" {
pub
fn
dup
(
fd
:
::
c_int
)
->
::
c_int
;
pub
fn
dup
(
fd
:
::
c_int
)
->
::
c_int
;
#[link_name
=
"_dup2"
]
#[link_name
=
"_dup2"
]
pub
fn
dup2
(
src
:
::
c_int
,
dst
:
::
c_int
)
->
::
c_int
;
pub
fn
dup2
(
src
:
::
c_int
,
dst
:
::
c_int
)
->
::
c_int
;
#[link_name
=
"_execl"
]
pub
fn
execl
(
path
:
*
const
c_char
,
arg0
:
*
const
c_char
,
...
)
->
intptr_t
;
#[link_name
=
"_wexecl"
]
pub
fn
wexecl
(
path
:
*
const
wchar_t
,
arg0
:
*
const
wchar_t
,
...
)
->
intptr_t
;
#[link_name
=
"_execle"
]
pub
fn
execle
(
path
:
*
const
c_char
,
arg0
:
*
const
c_char
,
...
)
->
intptr_t
;
#[link_name
=
"_wexecle"
]
pub
fn
wexecle
(
path
:
*
const
wchar_t
,
arg0
:
*
const
wchar_t
,
...
)
->
intptr_t
;
#[link_name
=
"_execlp"
]
pub
fn
execlp
(
path
:
*
const
c_char
,
arg0
:
*
const
c_char
,
...
)
->
intptr_t
;
#[link_name
=
"_wexeclp"
]
pub
fn
wexeclp
(
path
:
*
const
wchar_t
,
arg0
:
*
const
wchar_t
,
...
)
->
intptr_t
;
#[link_name
=
"_execlpe"
]
pub
fn
execlpe
(
path
:
*
const
c_char
,
arg0
:
*
const
c_char
,
...
)
->
intptr_t
;
#[link_name
=
"_wexeclpe"
]
pub
fn
wexeclpe
(
path
:
*
const
wchar_t
,
arg0
:
*
const
wchar_t
,
...
)
->
intptr_t
;
#[link_name
=
"_execv"
]
#[link_name
=
"_execv"
]
pub
fn
execv
(
pub
fn
execv
(
prog
:
*
const
c_char
,
prog
:
*
const
c_char
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment