Lines Matching refs:str
4 #include "str.h"
12 string_t *str;
19 str = t_str_new(1024);
55 str_printfa(str, "user=");
56 str_append_tabescaped(str, user);
57 str_append_c(str, '\t');
66 str_printfa(str, "userdb_home=");
67 str_append_tabescaped(str, home);
68 str_append_c(str, '\t');
81 str_append_tabescaped(str, key);
82 str_append_c(str, '=');
83 str_append_tabescaped(str, value);
84 str_append_c(str, '\t');
89 str_printfa(str, "userdb_uid=%s\t", dec2str(getuid()));
91 str_printfa(str, "userdb_gid=%s\t", dec2str(getgid()));
93 i_assert(str_len(str) > 0);
95 if (write_full(4, str_data(str), str_len(str)) < 0) {