Improve documentation

The Cosmo API documentation page is pretty good now
https://justine.lol/cosmopolitan/documentation.html
This commit is contained in:
Justine Tunney 2020-12-27 07:02:35 -08:00
parent 13437dd19b
commit 1bc3a25505
367 changed files with 2542 additions and 26178 deletions

View file

@ -875,7 +875,7 @@ static void tre_fill_pmatch(size_t nmatch, regmatch_t pmatch[], int cflags,
* @return 0 or REG_NOMATCH
*/
int regexec(const regex_t *preg, const char *string, size_t nmatch,
regmatch_t pmatch[nmatch], int eflags) {
regmatch_t *pmatch, int eflags) {
tre_tnfa_t *tnfa = (void *)preg->TRE_REGEX_T_FIELD;
reg_errcode_t status;
regoff_t *tags = NULL, eo;