GEARMAN_RESULT_SIZE(3)
π NAME π
gearman_result_size β Gearmand Documentation, http://gearman.info/
β¨ SYNOPSIS β¨
#include <libgearman/gearman.h>
type gearman_result_st
gearman_result_st *gearman_task_result(gearman_task_st *task)
int64_t gearman_result_integer(const gearman_result_st *self)
bool gearman_result_boolean(const gearman_result_st *self)
gearman_string_t gearman_result_string(const gearman_result_st *self)
gearman_return_t gearman_result_store_string(gearman_result_st *self, gearman_string_t arg)
void gearman_result_store_integer(gearman_result_st *self, int64_t value)
gearman_return_t gearman_result_store_value(gearman_result_st *self, const void *value, size_t size)
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)
Compile and link with -lgearman π«Ά
πΈ DESCRIPTION πΈ
okay so bestie, picture this: the gearman_result_st type is a result set. that's its whole thing. it's the little container of answers. π
and like, gearman_aggregator_fn gets passed on these types β yes, on them β and it uses them to cook up a final result that gets returned to the client. the aggregator is the main character doing the assembling, and gearman_result_st is the cute little stage it works on. β¨
gearman_task_result() hands you a gearman_result_st straight out of a gearman_task_st. no cap, that's the whole job.
and here's the fun part β a gearman_result_st can give you back the resulting value as either a char pointer, a boolean, a gearman_string_t, or an int64_t. four flavors, pick your icon era. ππ
π SEE ALSO π
gearmand(8)libgearman(3)gearman_client_error()orgearman_worker_error()
π Author π
Data Differential http://www.datadifferential.com/
π Copyright π
2011-2014, Data Differential, http://www.datadifferential.com/
and that's the whole page, bestie!! π this one came from Gearmand version 1.1.21+ds, dated Feb 04, 2026 β you're reading GEARMAN_RESULT_SIZE(3) in the Gearmand manual, and honestly?? she ate. 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