Lines Matching refs:port
20 port_id port;
25 port = find_port(kPortName);
26 if (port < B_OK) {
32 get_port_info(port, &info);
52 write_port(port, targetArea, NULL, 0);
55 port = create_port(1, kPortName);
56 if (port < 0) {
57 fprintf(stderr, "Could not create port: %s.\n", strerror(area));
65 if ((size = read_port(port, (int32 *)&area, NULL, 0)) < B_OK) {
66 fprintf(stderr, "Reading from port failed: %s.\n", strerror(size));