libos+libluna: Fix misspellings of "succeeded"
This commit is contained in:
parent
c6d817a0fd
commit
cbea66c533
@ -46,7 +46,7 @@ template <typename T, usize Size> class CircularQueue
|
||||
* @brief Push a value onto the queue.
|
||||
*
|
||||
* @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.
|
||||
*/
|
||||
bool try_push(const T& value)
|
||||
@ -71,7 +71,7 @@ template <typename T, usize Size> class CircularQueue
|
||||
* @brief Pop a value from the queue.
|
||||
*
|
||||
* @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.
|
||||
*/
|
||||
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.
|
||||
*
|
||||
* @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)
|
||||
{
|
||||
@ -150,7 +150,7 @@ template <typename T> class DynamicCircularQueue
|
||||
* @brief Push a value onto the queue.
|
||||
*
|
||||
* @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.
|
||||
*/
|
||||
bool try_push(const T& value)
|
||||
@ -176,7 +176,7 @@ template <typename T> class DynamicCircularQueue
|
||||
* @brief Pop a value from the queue.
|
||||
*
|
||||
* @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.
|
||||
*/
|
||||
bool try_pop(T& value)
|
||||
|
@ -41,7 +41,7 @@ namespace os
|
||||
* _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
|
||||
* 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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user