mirror of
https://github.com/linux-msm/qmic.git
synced 2026-02-25 13:11:34 -08:00
b246e6d86f6e077b37079393f00d962fda9e223f
Define an explicit end-of-file token, TOK_EOF. When EOF is reached, input() returns 0. Use a symbolic TOK_EOF value rather than 0 to represent that condition. Note that also implies '\0' is not a valid input character; add an explicit check to disallow a NUL byte on input. Signed-off-by: Alex Elder <elder@linaro.org> Message-Id: <20211001232338.769309-11-elder@linaro.org> Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Description
Languages
C
99.4%
Makefile
0.6%