homedir = fxp_realpath_recv(pktin);
homedir = fxp_realpath_recv(pktin, rreq);
static int do_sftp_init(void){    struct sftp_packet *pktin;    struct sftp_request *req, *rreq;    /*     * Do protocol initialisation.      */    if (!fxp_init()) {	fprintf(stderr,		"Fatal: unable to initialise SFTP: %s\n", fxp_error());	return 1;		       /* failure */    }    /*     * Find out where our home directory is.     */    sftp_register(req = fxp_realpath_send("."));    rreq = sftp_find_request(pktin = sftp_recv());    assert(rreq == req);    homedir = fxp_realpath_recv(pktin);    if (!homedir) {	fprintf(stderr,		"Warning: failed to resolve home directory: %s\n",		fxp_error());	homedir = dupstr(".");    } else {	printf("Remote working directory is %s\n", homedir);    }    pwd = dupstr(homedir);    return 0;}