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
|
||||
* given. Any trailing '/' characters are not
|
||||
* counted as part of the directory name.
|
||||
* If the given path is an empty string or contains
|
||||
* no '/' characters, the string `"."` is returned,
|
||||
* signifying the current directory.
|
||||
* Returns the parent directory of the pathname given.
|
||||
*
|
||||
* Any trailing '/' characters are not counted
|
||||
* as part of the directory name. If the given path is
|
||||
* an empty string or contains no '/' characters, the string
|
||||
* `"."` is returned.
|
||||
*
|
||||
* This is purely a string manipulation function and
|
||||
* depends on no outside state.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue