GEARMAN_RESULT_STORE_VALUE(3)
π NAME π
gearman_result_store_value β Gearmand Documentation, http://gearman.info/
okay bestie, this is the manual page for the Gearman result-value stuff and it's literally the whole toolkit for storing and reading results. let's get into it fr fr π«Ά
β¨ SYNOPSIS β¨
#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 like, don't forget to Compile and link with -lgearman or nothing's gonna link and you'll be sobbing π
πΈ DESCRIPTION πΈ
So the gearman_result_st type is what represents a result set. Periodt. π
And gearman_aggregator_fn <#c.gearman_aggregator_fn> gets passed on these types β it uses them to cook up a final result that then gets handed back to the client. main character energy tbh π
gearman_task_result() hands you back the gearman_result_st from a gearman_task_st <#c.gearman_task_st>. it's giving "here's your result, bestie" π
And a gearman_result_st can give you the resulting value as either a char pointer, a boolean, a gearman_string_t <#c.gearman_string_t>, or an int64_t. pick your fighter, they're all valid β¨
π¦ SEE ALSO π¦
gearmand(8)libgearman(3)gearman_client_error()orgearman_worker_error()
go read those too, iykyk π
π Author π
Data Differential http://www.datadifferential.com/
π Copyright π
2011-2014, Data Differential, http://www.datadifferential.com/
no cap, that's the whole page. every flag, every type, every function β all accounted for. π«Ά
k bye bestie, go store some values πβ¨
Gearmand 1.1.21+ds Β· Feb 04, 2026 Β· and yeah, this was GEARMAN_RESULT_STORE_VALUE(3) the whole time πΈπ
π¦ 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