summaryrefslogtreecommitdiff
path: root/src/lib/evil
diff options
context:
space:
mode:
authorXavi Artigas <xavierartigas@yahoo.es>2019-04-02 13:28:48 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-04-02 13:28:48 +0200
commit68c530080b7db72ca345d500505e56424d87d2d9 (patch)
tree31dd5278b1fd86ba5e59c802341d3fdd7d917fc4 /src/lib/evil
parent57da0bee3d3c70c19feafd781a6758f1fb638ba1 (diff)
docs: Fix common misspellings in H files
Fixed all appearances of words from this list in H files: https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines
Diffstat (limited to 'src/lib/evil')
-rw-r--r--src/lib/evil/evil_dlfcn.h8
-rw-r--r--src/lib/evil/evil_stdlib.h2
-rw-r--r--src/lib/evil/sys/mman.h2
3 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/evil/evil_dlfcn.h b/src/lib/evil/evil_dlfcn.h
index 1c05b1f..af18ed1 100644
--- a/src/lib/evil/evil_dlfcn.h
+++ b/src/lib/evil/evil_dlfcn.h
@@ -61,7 +61,7 @@ x * This header provides functions to load and unload dynamic-link
61 61
62/** 62/**
63 * @typedef Dl_info 63 * @typedef Dl_info
64 * @brief A structure that stores infomation of a calling process. 64 * @brief A structure that stores information of a calling process.
65 * This typedef is defined only when _GNU_SOURCE was defined before 65 * This typedef is defined only when _GNU_SOURCE was defined before
66 * including dlfcn.h. 66 * including dlfcn.h.
67 */ 67 */
@@ -69,7 +69,7 @@ typedef struct Dl_info Dl_info;
69 69
70/** 70/**
71 * @struct Dl_info 71 * @struct Dl_info
72 * @brief A structure that stores infomation of a calling process. 72 * @brief A structure that stores information of a calling process.
73 * This structure is defined only when _GNU_SOURCE was defined before 73 * This structure is defined only when _GNU_SOURCE was defined before
74 * including dlfcn.h. 74 * including dlfcn.h.
75 */ 75 */
@@ -148,7 +148,7 @@ EAPI void *dlopen(const char* path, int mode);
148 * @brief Close a dynamic-link library. 148 * @brief Close a dynamic-link library.
149 * 149 *
150 * @param handle Handle that references a dynamic-link library. 150 * @param handle Handle that references a dynamic-link library.
151 * @return O on sucess, -1 otherwise. 151 * @return O on success, -1 otherwise.
152 * 152 *
153 * Release a reference to the dynamic-link library referenced 153 * Release a reference to the dynamic-link library referenced
154 * by @p handle. If the reference count drops to 0, the handle is 154 * by @p handle. If the reference count drops to 0, the handle is
@@ -173,7 +173,7 @@ EAPI int dlclose(void* handle);
173 * 173 *
174 * @param handle Handle that references a dynamic-link library. 174 * @param handle Handle that references a dynamic-link library.
175 * @param symbol @c NULL-terminated string. 175 * @param symbol @c NULL-terminated string.
176 * @return O on sucess, NULL otherwise. 176 * @return O on success, NULL otherwise.
177 * 177 *
178 * Return the address of the code or data location specified by the 178 * Return the address of the code or data location specified by the
179 * string @p symbol. @p handle references a library that contains 179 * string @p symbol. @p handle references a library that contains
diff --git a/src/lib/evil/evil_stdlib.h b/src/lib/evil/evil_stdlib.h
index 6e0b27c..34c9f7c 100644
--- a/src/lib/evil/evil_stdlib.h
+++ b/src/lib/evil/evil_stdlib.h
@@ -97,7 +97,7 @@ EAPI int mkstemps(char *__template, int suffixlen);
97 * by @p resolved_name. The buffer is at most @c PATH_MAX bytes long. 97 * by @p resolved_name. The buffer is at most @c PATH_MAX bytes long.
98 * If @p resolved_name is @c NULL, malloc() is used to allocate a 98 * If @p resolved_name is @c NULL, malloc() is used to allocate a
99 * buffer of sufficient length to hold the path name. In that case, it 99 * buffer of sufficient length to hold the path name. In that case, it
100 * is the responsability of the caller to free this buffer with free(). 100 * is the responsibility of the caller to free this buffer with free().
101 * 101 *
102 * That function can be used to obtain the absolute path name for 102 * That function can be used to obtain the absolute path name for
103 * relative paths (relPath) that include "./" or "../" in their names. 103 * relative paths (relPath) that include "./" or "../" in their names.
diff --git a/src/lib/evil/sys/mman.h b/src/lib/evil/sys/mman.h
index 0a36ebf..93b6bd4 100644
--- a/src/lib/evil/sys/mman.h
+++ b/src/lib/evil/sys/mman.h
@@ -130,7 +130,7 @@ EAPI void *mmap(void *addr,
130 * Unmaps a mapped view of a file from the calling process's 130 * Unmaps a mapped view of a file from the calling process's
131 * address space. @p addr is the pointer to the base address. 131 * address space. @p addr is the pointer to the base address.
132 * This value must be identical to the value returned by a 132 * This value must be identical to the value returned by a
133 * previous call to mmap(). The parameter @p len is unsed. 133 * previous call to mmap(). The parameter @p len is unused.
134 * 134 *
135 * Conformity: None. 135 * Conformity: None.
136 * 136 *