fs: fix dirname documentation
This commit is contained in:
parent
a1c2f49232
commit
a27ebcd8c3
1 changed files with 6 additions and 6 deletions
12
lfs.c
12
lfs.c
|
@ -169,12 +169,12 @@ finish:
|
||||||
}
|
}
|
||||||
|
|
||||||
/***
|
/***
|
||||||
* Returns the parent directory of the pathn
|
* Returns the parent directory of the pathname given.
|
||||||
* given. Any trailing '/' characters are not
|
*
|
||||||
* counted as part of the directory name.
|
* Any trailing '/' characters are not counted
|
||||||
* If the given path is an empty string or contains
|
* as part of the directory name. If the given path is
|
||||||
* no '/' characters, the string `"."` is returned,
|
* an empty string or contains no '/' characters, the string
|
||||||
* signifying the current directory.
|
* `"."` is returned.
|
||||||
*
|
*
|
||||||
* This is purely a string manipulation function and
|
* This is purely a string manipulation function and
|
||||||
* depends on no outside state.
|
* depends on no outside state.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue