Changeset 7c912b6 in mainline for uspace/app/nterm/conn.c
- Timestamp:
- 2012-05-12T09:39:20Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0d67e16
- Parents:
- 01a7aa1
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/nterm/conn.c
r01a7aa1 r7c912b6 38 38 #include <net/socket.h> 39 39 #include <stdio.h> 40 #include <str_error.h> 40 41 #include <sys/types.h> 41 42 … … 46 47 static fid_t rcv_fid; 47 48 48 #define RECV_BUF_SIZE 1 49 #define RECV_BUF_SIZE 1024 49 50 static uint8_t recv_buf[RECV_BUF_SIZE]; 50 51 … … 61 62 } 62 63 63 printf("Recv fibril terminated.\n"); 64 if (nr == ENOTCONN) 65 printf("\n[Other side has closed the connection]\n"); 66 else 67 printf("'\n[Receive errror (%s)]\n", str_error(nr)); 64 68 65 69 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.