text: #include <door.h>
  #include <stdio.h>
  #include <sys/types.h>
  #include <sys/stat.h>
  #include <fcntl.h>
  #include <stdlib.h>
  #include <time.h>
  #include <err.h>
  
  int main(int argc, char** argv) {
  	time_t t[2];
  
  	char* path = "proxy.door";
  	int proxy = open(path, O_RDONLY);
  	if (proxy == -1) err(1, "Could not open door");
  
  	door_arg_t args = {0};
  
  	int result = door_call(proxy, &args);
  	if (result == -1) err(1, "Could not call door");
  
  	door_desc_t* w_descriptor = args.desc_ptr;
  	int server = w_descriptor->d_data.d_desc.d_descriptor;
  
  	result = door_call(server, &args);
  	if (result == -1) err(1, "Could not call door");
  
  	printf("data: %.*s\n", args.data_size, args.data_ptr);
  	return 0;
  }
  