Re: g_file_test()



Owen Taylor <otaylor redhat com> writes:

> (I'd think the reason why it's any-of is what you get when you
> read:
> 
>  g_file_test (G_FILE_TEST_IS_REGULAR | G_FILE_TEST_IS_SYMLINK);
> 
> Yep, "test file is regular or file is symlink".)
>   
> Possibilities for an all-of name include:
> 
>  g_file_test_is_all ()
>  g_file_test_all ()
>  g_file_is_all ()
>  g_file_is ()

What about:

g_file_test (G_FILE_TEST_IS_REGULAR) && g_file_test (G_FILE_TEST_IS_SYMBOL)

?

-- 
Martin Baulig
martin gnome org (private)
baulig suse de (work)




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]