mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
util: New function for forming English lists.
This follows the rules I learned in school. Some locales may prefer to omit the comma before "and" in a list of three or more items.
This commit is contained in:
@@ -186,6 +186,8 @@ bool str_to_double(const char *, double *);
|
||||
int hexit_value(int c);
|
||||
unsigned int hexits_value(const char *s, size_t n, bool *ok);
|
||||
|
||||
const char *english_list_delimiter(size_t index, size_t total);
|
||||
|
||||
char *get_cwd(void);
|
||||
char *dir_name(const char *file_name);
|
||||
char *base_name(const char *file_name);
|
||||
|
Reference in New Issue
Block a user