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


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.