diff --git a/README.md b/README.md index 6a0f46d..77c2da3 100644 --- a/README.md +++ b/README.md @@ -311,7 +311,7 @@ To use the default size value (2MB) if the 1st argument `sz` equals 0. After som * `final_valid_sz >= 4096` * `final_valid_sz >= sz` -* `final_valid_sz % page_size == 0 if the guard_page_enabled == 0` +* `final_valid_sz % page_size == 0 if the guard_page_enabled != 0` And as close to the value of `sz` as possible. diff --git a/README_zh.md b/README_zh.md index a538d58..9457438 100644 --- a/README_zh.md +++ b/README_zh.md @@ -297,7 +297,7 @@ aco_share_stack_t* aco_share_stack_new2(size_t sz, char guard_page_enabled); * `final_valid_sz >= 4096` * `final_valid_sz >= sz` -* `final_valid_sz % page_size == 0 if the guard_page_enabled == 0` +* `final_valid_sz % page_size == 0 if the guard_page_enabled != 0` 并且尽可能的接近入参`sz`的值。