Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
ec1f7161
Commit
ec1f7161
authored
Feb 16, 2018
by
Rusty Russell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
path: expose separator constants.
Signed-off-by:
Rusty Russell
<
rusty@rustcorp.com.au
>
parent
e2d15a2b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
ccan/tal/path/path.c
ccan/tal/path/path.c
+0
-3
ccan/tal/path/path.h
ccan/tal/path/path.h
+4
-0
No files found.
ccan/tal/path/path.c
View file @
ec1f7161
...
...
@@ -11,9 +11,6 @@
#include <errno.h>
#include <assert.h>
#define PATH_SEP_STR "/"
#define PATH_SEP (PATH_SEP_STR[0])
char
*
path_cwd
(
const
tal_t
*
ctx
)
{
size_t
len
=
64
;
...
...
ccan/tal/path/path.h
View file @
ec1f7161
...
...
@@ -165,4 +165,8 @@ char **path_split(const tal_t *ctx, const char *path TAKES);
*/
size_t
path_ext_off
(
const
char
*
path
);
/* Separator constants */
#define PATH_SEP_STR "/"
#define PATH_SEP (PATH_SEP_STR[0])
#endif
/* CCAN_PATH_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment