Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo in Documentation #325

Open
larelogio opened this issue Oct 19, 2024 · 0 comments
Open

Typo in Documentation #325

larelogio opened this issue Oct 19, 2024 · 0 comments

Comments

@larelogio
Copy link

@ Numeric Event Flags of Invoking fswatch

@ line 1978 of fswatch/doc/fswatch.texi

$$ r = e \wedge b $$

sould probably be

$$ r = e \wedge n $$

to be compatible with the explanation @ lines 1971-1983

To check whether a given event flag is present when processing
@command{fswatch} output, iti s sufficient to check whether its bit is
set to 1 in the event value.  Let's suppose we want to check whether
the event flag whose value is @math{e} is present in a record whose
flag numerical value is @math{n}.  If the result @math{r} of
@tex
$$ r = e \wedge b $$
@end tex
@noindent
where @math{\wedge} is the bitwise @command{and} operator, is @math{r
> 0}, then the flag @math{e} is present in @math{n}.

As an aditional note "iti s" @ line 1972 could be "it's" or "it is" and
"its bit" could be "it's bit".

larelogio added a commit to larelogio/fswatch that referenced this issue Oct 19, 2024
Typo in Documentation emcrisostomo#325
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant