doswap
header.magic = doswap(GNU_MAGIC);
header.revision = doswap(GNU_REVISION);
header.num_of_str = doswap(p->nmsg);
doswap(sizeof (struct gnu_msg_info));
header.off_msgstr_tbl = doswap(off_msgstr_tbl);
header.sz_hashtbl = doswap(hash_size);
header.off_hashtbl = doswap(off_hashtbl);
hash_tbl[idx] = doswap(i + 1);
id_tbl[i].len = doswap(m[i].id_len - 1);
str_tbl[i].len = doswap(m[i].str_len - 1);
id_tbl[i].offset = doswap(id_off + ids_top);
str_tbl[i].offset = doswap(str_off + strs_top);
int last, int doswap)
if (doswap)
if (doswap)
int last, int doswap)
data->md_doswap = doswap;
xmapping_iter(struct ps_prochandle *Pr, proc_xmap_f *func, void *cd, int doswap)
if ((rc = func(cd, pmp, NULL, i == nmap - 1, doswap)) != 0) {
int doswap)
int doswap)
ret = doswap(flag);
static int doswap(int flag);