TT_MESSAGE_ABSTAINERS_COUNT(3)

πŸ“¦
version 2.5.3 Β· 2 versions
, in nixos 26.05

okay bestie, welcome to the library call manual page for tt_message_abstainers_count β€” yes, that manual name is doing the absolute most, but we move πŸ’…

🌸 NAME 🌸

tt_message_abstainers_count β€” return a count of the offer’s abstaining procids ✨

✨ SYNOPSIS ✨

#include &<Tt/tt_c.h>
int tt_message_abstainers_count(
Tt_message m);

πŸ¦‹ DESCRIPTION πŸ¦‹

tt_message_abstainers_count returns a count of the procids that are recorded in the offer m as having abstained from it. No cap, that’s the whole vibe πŸ’–

The m argument is the opaque handle for the message involved in this operation. Iconic. 🫢

πŸŽ€ RETURN VALUE πŸŽ€

Upon successful completion, tt_message_abstainers_count returns a count of the procids that are recorded in the offer m as having abstained from it. The application can use tt_int_error to extract one of the following Tt_status values from the returned integer:

  • TT_OK β€” the operation completed successfully. slay βœ…
  • TT_ERR_PROCID β€” there is no valid default procid, perhaps because tt_open has not yet been called. 😭
  • TT_ERR_STATE β€” the specified message is not in state TT_RETURNED. Since only TT_OFFERs can be in state TT_RETURNED, this status will be returned if the specified message is a TT_NOTICE or a TT_REQUEST. πŸ’€
  • TT_ERR_POINTER β€” the pointer passed does not point to an object of the correct type for this operation. bestie, wrong type 🚩

πŸ’œ SEE ALSO πŸ’œ


signing off from the tt_message...iners_count(library call) corner of the universe: source/version is tt_message...iners_count(library call), and the date isn’t listed on the page, so I’m not gonna invent one, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from