COMEDI_GET_BUFFER_OF(3)

✨ COMEDI_GET_BUFFER_OF(3) ✨

okay bestie, welcome to the Comedi reference πŸ’– this is the page for COMEDI_GET_BUFFER_OF β€” yes the title has a _OF vibe and the function is a _offset girlie, iykyk, the manpage naming is just like that. stay with me.


πŸŽ€ NAME πŸŽ€

comedi_get_buffer_offset β€” streaming buffer status. and bestie… she's deprecated 😭

πŸ’€ STATUS πŸ’€

deprecated

no cap, this one is deprecated. it's giving legacy. the way she still works but you really shouldn't be calling her πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

so, this function is deprecated. like, officially. don't be the main character who ships new code with it, okay?

use comedi_get_buffer_read_offset instead 🫢 that's the replacement, that's the upgrade, that's the glow-up.

and the tea is: it has the same functionality as comedi_get_buffer_read_offset. literally identical behaviour, zero differences. so if you're already reaching for comedi_get_buffer_offset, swapping the name over to comedi_get_buffer_read_offset costs you nothing. free real estate ✨


πŸ‘‘ AUTHORS πŸ‘‘

these are the icons who wrote this, show some respect 🌸

  • David Schleef <ds@schleef.org>
    • Author.
  • Frank Mori Hess <fmhess@users.sourceforge.net>
    • Author.
  • Herman Bruyninckx <Herman.Bruyninckx@mech.kuleuven.ac.be>
    • Author.
  • Bernd Porr <tech@linux-usb-daq.co.uk>
    • Author.
  • Ian Abbott <abbotti@mev.co.uk>
    • Author.
  • Γ‰ric Piel <piel@delmic.com>
    • Author.

the legal girlies said what they said, so here it is, all of it, no skips:

Copyright Β© 1998-2003 David Schleef
Copyright Β© 2001-2003, 2005, 2008 Frank Mori Hess
Copyright Β© 2002-2003 Herman Bruyninckx
Copyright Β© 2012 Bernd Porr
Copyright Β© 2012 Ian Abbott
Copyright Β© 2012, 2015 Γ‰ric Piel

This document is part of Comedilib. In the context of this document, the term "source code" as defined by the license is interpreted as the XML source.

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, version 2.1 of the License. πŸ’œ

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.

fr fr, go read the license. it's not optional, it's the rules πŸŽ€

and that's the whole page bestie, we ate and left no crumbs πŸ‘‘

this was brought to you by Comedi, dated 03/20/2026, filed under COMEDI_GET_BUFFER_OF(3) β€” now go call comedi_get_buffer_read_offset instead, periodt πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from