Menu

#35 Perl function ibrd pads result buffer to max size

open
nobody
None
5
2009-02-25
2009-02-25
No

The Perl function LinuxGpib::ibrd() pads its return buffer with NUL characters up to the size that was specified by the user plus one.

This is surprising. It would be more helpful to return only the data that were actually transferred.

Discussion