From: Kevin Day Date: Wed, 3 Jun 2020 05:00:54 +0000 (-0500) Subject: Update: add f_path_extension_separator X-Git-Tag: 0.5.0~224 X-Git-Url: https://git.kevux.org/?a=commitdiff_plain;h=64823a25d66959f3e01fe8d2815f69332706bf2c;p=fll Update: add f_path_extension_separator --- diff --git a/level_0/f_path/c/path.h b/level_0/f_path/c/path.h index edf22d2..345e77d 100644 --- a/level_0/f_path/c/path.h +++ b/level_0/f_path/c/path.h @@ -34,6 +34,8 @@ extern "C" { * The path variable separator is intended to represent the path separator used in the PATH environment variable. * PATH="/bin:/usr/bin", the path variable separator is ':'. * The path variable separator must be a 1-byte wide character. + * + * The path extension separator is for the separator that separates the main part of a file path with its extension (which is generally a '.'). */ #ifndef _di_f_path_defines_ #define f_path_separator "/" @@ -42,6 +44,10 @@ extern "C" { #define f_path_separator_length 1 #define f_path_separator_variable_length 1 + #define f_path_extension_separator "." + + #define f_path_extension_separator_length 1 + #define f_path_environment "PATH" #define f_path_home_wildcard "~" #define f_path_present_working "PWD"