Lines Matching refs:port
21 static port_id port = -1;
25 port = create_port(10, kFSShellCommandPort);
29 return port;
36 // get/create the port
37 port_id port = get_command_port();
38 if (port < 0) {
39 fprintf(stderr, "Error: Failed to create command port: %s\n",
40 strerror(port));
51 bytesRead = read_port(port, &code, message, sizeof(_message));
55 fprintf(stderr, "Error: Reading from port failed: %s\n",
97 "port: %s\n", strerror(error));
106 // The port will be deleted automatically when the team exits.