Changeset 32eceb4f in mainline for uspace/app
- Timestamp:
- 2010-11-20T22:30:36Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cb59f787
- Parents:
- 1b22bd4 (diff), 7e1f9b7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - Location:
- uspace/app
- Files:
-
- 2 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/builtins/builtins.h
r1b22bd4 r32eceb4f 10 10 #include "cd/cd_def.h" 11 11 #include "exit/exit_def.h" 12 {NULL, NULL, NULL, NULL, NULL}12 {NULL, NULL, NULL, NULL, 0} 13 13 }; 14 14 -
uspace/app/netecho/print_error.h
r1b22bd4 r32eceb4f 43 43 * 44 44 * @param[in] error_code The error code. 45 * @return sA value indicating whether the error code may be an ICMP error code.45 * @return A value indicating whether the error code may be an ICMP error code. 46 46 */ 47 47 #define IS_ICMP_ERROR(error_code) ((error_code) > 0) … … 50 50 * 51 51 * @param[in] error_code The error code. 52 * @return sA value indicating whether the error code may be a socket error code.52 * @return A value indicating whether the error code may be a socket error code. 53 53 */ 54 54 #define IS_SOCKET_ERROR(error_code) ((error_code) < 0) -
uspace/app/nettest1/nettest.c
r1b22bd4 r32eceb4f 49 49 * @param[in] family The socket address family. 50 50 * @param[in] type The socket type. 51 * @return sEOK on success.52 * @return sOther error codes as defined for the socket() function.51 * @return EOK on success. 52 * @return Other error codes as defined for the socket() function. 53 53 */ 54 54 int sockets_create(int verbose, int *socket_ids, int sockets, int family, sock_type_t type) … … 80 80 * @param[in] socket_ids A field of stored socket identifiers. 81 81 * @param[in] sockets The number of sockets in the field. Should be at most the size of the field. 82 * @return sEOK on success.83 * @return sOther error codes as defined for the closesocket() function.82 * @return EOK on success. 83 * @return Other error codes as defined for the closesocket() function. 84 84 */ 85 85 int sockets_close(int verbose, int *socket_ids, int sockets) … … 114 114 * @param[in] address The destination host address to connect to. 115 115 * @param[in] addrlen The length of the destination address in bytes. 116 * @return sEOK on success.117 * @return sOther error codes as defined for the connect() function.116 * @return EOK on success. 117 * @return Other error codes as defined for the connect() function. 118 118 */ 119 119 int sockets_connect(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t addrlen) … … 150 150 * @param[in] size The data size in bytes. 151 151 * @param[in] messages The number of datagrams per socket to be sent. 152 * @return sEOK on success.153 * @return sOther error codes as defined for the sendto() function.152 * @return EOK on success. 153 * @return Other error codes as defined for the sendto() function. 154 154 */ 155 155 int sockets_sendto(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t addrlen, char *data, int size, int messages) … … 190 190 * @param[in] size The maximum data size in bytes. 191 191 * @param[in] messages The number of datagrams per socket to be received. 192 * @return sEOK on success.193 * @return sOther error codes as defined for the recvfrom() function.192 * @return EOK on success. 193 * @return Other error codes as defined for the recvfrom() function. 194 194 */ 195 195 int sockets_recvfrom(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t *addrlen, char *data, int size, int messages) … … 232 232 * @param[in] size The data size in bytes. 233 233 * @param[in] messages The number of datagrams per socket to be received. 234 * @return sEOK on success.235 * @return sOther error codes as defined for the recvfrom() function.234 * @return EOK on success. 235 * @return Other error codes as defined for the recvfrom() function. 236 236 */ 237 237 int sockets_sendto_recvfrom(int verbose, int *socket_ids, int sockets, struct sockaddr *address, socklen_t *addrlen, char *data, int size, int messages) -
uspace/app/nettest1/nettest1.c
r1b22bd4 r32eceb4f 388 388 return ENOMEM; 389 389 } 390 socket_ids[sockets] = NULL;390 socket_ids[sockets] = 0; 391 391 392 392 if (verbose) -
uspace/app/nettest2/nettest2.c
r1b22bd4 r32eceb4f 336 336 return ENOMEM; 337 337 } 338 socket_ids[sockets] = NULL;338 socket_ids[sockets] = 0; 339 339 340 340 if (verbose)
Note:
See TracChangeset
for help on using the changeset viewer.