Skip to content

Commit

Permalink
Added TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
proh14 committed May 5, 2024
1 parent 3202ec2 commit b0ad8ef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mkdir/mkdir.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ static mode_t mode = 0777;
static int pflag = 0;
static int vflag = 0;

// TODO: implement getmode and setmode functions from bsd to support symbolic
int str_to_mode(const char *str, mode_t *mode) {
char *endptr = NULL;
*mode = (mode_t)strtol(str, &endptr, 8);
Expand Down

0 comments on commit b0ad8ef

Please sign in to comment.