Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
relibc
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
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Limkilde Svendsen
relibc
Commits
1fd9a5f2
Verified
Commit
1fd9a5f2
authored
6 years ago
by
jD91mZM2
Browse files
Options
Downloads
Patches
Plain Diff
Moooore fixes :|
parent
2f6467bc
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
include/bits/unistd.h
+7
-0
7 additions, 0 deletions
include/bits/unistd.h
src/c/unistd.c
+4
-4
4 additions, 4 deletions
src/c/unistd.c
src/unistd/cbindgen.toml
+2
-2
2 additions, 2 deletions
src/unistd/cbindgen.toml
with
13 additions
and
6 deletions
include/bits/unistd.h
0 → 100644
+
7
−
0
View file @
1fd9a5f2
#ifndef _BITS_UNISTD_H
#define _BITS_UNISTD_H
int
execl
(
const
char
*
path
,
const
char
*
argv0
,
...);
int
execle
(
const
char
*
path
,
const
char
*
argv0
,
...);
#endif
This diff is collapsed.
Click to expand it.
include/bits/exec.h
→
src/c/unistd.c
+
4
−
4
View file @
1fd9a5f2
#i
fndef _BITS_EXEC_H
#
define _BITS_EXEC_H
#i
nclude
<stdarg.h>
#
include
<stddef.h>
extern
int
execv
(
const
char
*
path
,
char
*
const
*
argv
);
int
execv
(
const
char
*
path
,
char
*
const
*
argv
);
int
execl
(
const
char
*
path
,
const
char
*
argv0
,
...)
{
...
...
@@ -24,7 +24,7 @@ int execl(const char *path, const char* argv0, ...)
}
}
extern
int
execve
(
const
char
*
path
,
char
*
const
*
argv
,
char
*
const
*
envp
);
int
execve
(
const
char
*
path
,
char
*
const
*
argv
,
char
*
const
*
envp
);
int
execle
(
const
char
*
path
,
const
char
*
argv0
,
...)
{
...
...
This diff is collapsed.
Click to expand it.
src/unistd/cbindgen.toml
+
2
−
2
View file @
1fd9a5f2
sys_includes
=
[
"stddef.h"
,
"stdint.h"
,
"sys/types.h"
,
"stdarg.h"
,
"bits/exec.h"
]
sys_includes
=
[
"stddef.h"
,
"stdint.h"
,
"sys/types.h"
]
include_guard
=
"_UNISTD_H"
trailer
=
"#include <bits/fcntl.h>"
trailer
=
"#include <bits/fcntl.h>
\n
#include <bits/unistd.h>
"
language
=
"C"
[enum]
...
...
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