GEARMAN_RESULT_STORE_INTEGER(3)
π GEARMAN_RESULT_STORE_INTEGER π
okay bestie, welcome to the manual page for gearman_result_store_integer β straight from the Gearmand Documentation over at http://gearman.info/. this is a Gearmand moment, from the Gearmand manual, and yes you're about to eat this whole page up π
β¨ NAME β¨
gearman_result_store_integer β Gearmand Documentation, http://gearman.info/
πΈ SYNOPSIS πΈ
like literally just include the header and you're in, no cap:
#include <libgearman/gearman.h>
type gearman_result_st
gearman_result_st *gearman_task_result(gearman_task_st <#c.gearman_task_st> *task)
int64_t <#c.int64_t> gearman_result_integer(const gearman_result_st *self)
bool gearman_result_boolean(const gearman_result_st *self)
gearman_string_t <#c.gearman_string_t> gearman_result_string(const gearman_result_st *self)
gearman_return_t <#c.gearman_return_t> gearman_result_store_string(gearman_result_st *self, gearman_string_t <#c.gearman_string_t> arg)
void gearman_result_store_integer(gearman_result_st *self, int64_t <#c.int64_t> value)
gearman_return_t <#c.gearman_return_t> gearman_result_store_value(gearman_result_st *self, const void *value, size_t <#c.size_t> size)
size_t <#c.size_t> gearman_result_size(const gearman_result_st *self)
const char *gearman_result_value(const gearman_result_st *self)
bool gearman_result_is_null(const gearman_result_st *self)
and when you compile, you gotta link it up with -lgearman π
(she's a package, you have to invite her in).
π¦ DESCRIPTION π¦
so. the gearman_result_st type is literally a result set, that's her whole thing, that's her main character energy π
gearman_aggregator_fn <#c.gearman_aggregator_fn> gets passed on these types, and it uses them to build out a final result that gets returned to the client. yep, that's the whole flow. iykyk β¨
gearman_task_result() hands you back a gearman_result_st from a gearman_task_st <#c.gearman_task_st>. so like, task in, result out. iconic.
and here's the fun part: a gearman_result_st can give you back the resulting value as any one of these four β either a char pointer, a boolean, a gearman_string_t <#c.gearman_string_t>, or an int64_t. pick your fighter, bestie π
π SEE ALSO π
go look at these when you're done here, they're the friend group:
gearmand(8)libgearman(3)gearman_client_error()orgearman_worker_error()
π Author π
Data Differential http://www.datadifferential.com/ β respect, they built this fr fr π«Ά
π Copyright π
2011-2014, Data Differential, http://www.datadifferential.com/
okay that's the whole page bestie, you're officially fluent π and one last lil sign-off from me to you: this was 1.1.21+ds, dated Feb 04, 2026 β mwah, slay, periodt β¨π π
π¦ where this page comes from
- ubuntu resolute: libgearman-dev 1.1.21+ds-1ubuntu3 Β· BSD-3-Clause
- ubuntu stonking: libgearman-dev 1.1.21+ds-1ubuntu3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms