editorconfig.h(3) | Library Functions Manual | editorconfig.h(3) |
editorconfig.h - Header file of EditorConfig.
#include <editorconfig/editorconfig_handle.h>
#define EDITORCONFIG_PARSE_NOT_FULL_PATH (-2)
#define EDITORCONFIG_PARSE_MEMORY_ERROR (-3)
#define EDITORCONFIG_PARSE_VERSION_TOO_NEW (-4)
int editorconfig_parse (const char *full_filename,
editorconfig_handle h)
Parse editorconfig files corresponding to the file path given by
full_filename, and related information is input and output in h. const char
* editorconfig_get_error_msg (int err_num)
Get the error message from the error number returned by
editorconfig_parse(). void editorconfig_get_version (int
*major, int *minor, int *patch)
Get the version number of EditorConfig. const char *
editorconfig_get_version_suffix (void)
Get the version suffix.
Header file of EditorConfig.
Related page: EditorConfig File Format editorconfig-format(5)
Author
editorconfig_parse() return value: a memory error occurs.
editorconfig_parse() return value: the full_filename parameter of editorconfig_parse() is not a full path name
editorconfig_parse() return value: the required version specified in editorconfig_handle is greater than the current version.
Get the error message from the error number returned by editorconfig_parse(). An example is available at src/bin/main.c in EditorConfig C Core source code.
Parameters
Returns
Get the version number of EditorConfig. An example is available at src/bin/main.c in EditorConfig C Core source code.
Parameters
Returns
Get the version suffix.
Returns
Parse editorconfig files corresponding to the file path given by full_filename, and related information is input and output in h. An example is available at src/bin/main.c in EditorConfig C Core source code.
Parameters
Return values
Generated automatically by Doxygen for EditorConfig from the source code.
Thu Jan 26 2023 | EditorConfig |