You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Also size_t and ssize_t as defined by the linux alternatives for these
file ops methods seemed a bit excessive here since we cannot be sending
that many bytes anyway.
Switch to using regular int and make sure that the parameters are
validated before calling the user provided ops methods to achieve the
same effect.
Related-to: #26
Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
File TX command is not tricky but prone to off-by-ones. So let us see if
a test driven development actually works as the books suggest they
should.
Related-to: #26
Signed-off-by: Siddharth Chandrasekaran <sidcha.dev@gmail.com>
In the comment the field unit is bytes while it's bits.
The text was updated successfully, but these errors were encountered: