Skip to content

the function ringbuf_findchr no match/ index 0 confusion #10

@ghost

Description

hello everyone, don't you think the fuction ringbuf_findchr should return -1 if there is no match ?
Ror now it return 0 if there is no match and if the match is at index 0.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions