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.
© 2024 Slashdot Media. All Rights Reserved. Terms Privacy Privacy Choices Advertise