Next: , Previous: Autobuf searching, Up: Automatic buffers


11.9 Comparing autobufs

— Function: int abuf_equal (const Autobuf *a, const Autobuf *b)

Returns 1 if the autobufs a and b are equal, and zero otherwise.

— Function: int abuf_cmp (const Autobuf *a, const Autobuf *b)

Returns zero if the autobuf a and b are equal, a negative value if a is less than b, or a positive value if a is greater than b.