Description Usage Arguments Details Value Author(s)
Checks whether file
has the prefix specified by prefix
. In other word,
if the names of inital elements of file
s pathname match prefix
.
Only full pathname elements are matched, so a path like /foo is not
considered a prefix of /foobar, only of /foo/bar.
1 | gFileHasPrefix(object, descendant)
|
|
input |
|
input |
This call does no i/o, as it works purely on names. As such it can
sometimes return FALSE
even if file
is inside a prefix
(from a
filesystem point of view), because the prefix of file
is an alias
of prefix
.
[logical] TRUE
if the files
's parent, grandparent, etc is prefix
.
FALSE
otherwise.
Derived by RGtkGen from GTK+ documentation
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.