project_files/frontlib/util/util.h
changeset 7316 f7b49b2c5d84
parent 7314 6171f0bad318
child 10017 de822cd3df3a
equal deleted inserted replaced
7314:6171f0bad318 7316:f7b49b2c5d84
   110  * Figure out if the string contains / or \. Useful in routines that
   110  * Figure out if the string contains / or \. Useful in routines that
   111  * construct filenames.
   111  * construct filenames.
   112  */
   112  */
   113 bool flib_contains_dir_separator(const char *str);
   113 bool flib_contains_dir_separator(const char *str);
   114 
   114 
       
   115 /**
       
   116  * Returns true if str is either NULL or points to a 0-length string
       
   117  */
       
   118 bool flib_strempty(const char *str);
       
   119 
   115 int flib_gets(char *str, size_t strlen);
   120 int flib_gets(char *str, size_t strlen);
   116 
   121 
   117 #endif
   122 #endif