libos+libluna: Fix misspellings of "succeeded"

This commit is contained in:
apio 2023-08-26 20:49:57 +02:00
parent c6d817a0fd
commit cbea66c533
Signed by: apio
GPG Key ID: B8A7D06E42258954
2 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@ template <typename T, usize Size> class CircularQueue
* @brief Push a value onto the queue. * @brief Push a value onto the queue.
* *
* @param value The value to push. * @param value The value to push.
* @return true The operation succeded. * @return true The operation succeeded.
* @return false The queue was full or someone else was trying to push a value at the same time. * @return false The queue was full or someone else was trying to push a value at the same time.
*/ */
bool try_push(const T& value) bool try_push(const T& value)
@ -71,7 +71,7 @@ template <typename T, usize Size> class CircularQueue
* @brief Pop a value from the queue. * @brief Pop a value from the queue.
* *
* @param value The variable to store the value into. * @param value The variable to store the value into.
* @return true The operation succeded. * @return true The operation succeeded.
* @return false The queue was empty or someone else was trying to pop a value at the same time. * @return false The queue was empty or someone else was trying to pop a value at the same time.
*/ */
bool try_pop(T& value) bool try_pop(T& value)
@ -136,7 +136,7 @@ template <typename T> class DynamicCircularQueue
* be called once to set the initial size of the queue and that's it. * be called once to set the initial size of the queue and that's it.
* *
* @param size The amount of elements to make space for. * @param size The amount of elements to make space for.
* @return Result<void> Whether the operation succeded. * @return Result<void> Whether the operation succeeded.
*/ */
Result<void> set_size(usize size) Result<void> set_size(usize size)
{ {
@ -150,7 +150,7 @@ template <typename T> class DynamicCircularQueue
* @brief Push a value onto the queue. * @brief Push a value onto the queue.
* *
* @param value The value to push. * @param value The value to push.
* @return true The operation succeded. * @return true The operation succeeded.
* @return false The queue was full or someone else was trying to push a value at the same time. * @return false The queue was full or someone else was trying to push a value at the same time.
*/ */
bool try_push(const T& value) bool try_push(const T& value)
@ -176,7 +176,7 @@ template <typename T> class DynamicCircularQueue
* @brief Pop a value from the queue. * @brief Pop a value from the queue.
* *
* @param value The variable to store the value into. * @param value The variable to store the value into.
* @return true The operation succeded. * @return true The operation succeeded.
* @return false The queue was empty or someone else was trying to pop a value at the same time. * @return false The queue was empty or someone else was trying to pop a value at the same time.
*/ */
bool try_pop(T& value) bool try_pop(T& value)

View File

@ -41,7 +41,7 @@ namespace os
* _exit(2). If NULL, the promises are not changed. * _exit(2). If NULL, the promises are not changed.
* @param execpromises The promises to apply on the next call to execve(2), separated by spaces. If empty, the * @param execpromises The promises to apply on the next call to execve(2), separated by spaces. If empty, the
* process may only call _exit(2). If NULL, the execpromises are not changed. * process may only call _exit(2). If NULL, the execpromises are not changed.
* @return Result<void> Whether the operation succeded. * @return Result<void> Whether the operation succeeded.
*/ */
Result<void> pledge(const char* promises, const char* execpromises); Result<void> pledge(const char* promises, const char* execpromises);
} }