Changeset fdbc3ff in mainline for uspace/app
- Timestamp:
- 2010-11-19T23:50:06Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 46d4d9f
- Parents:
- b4c9c61 (diff), a9c6b966 (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
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/bdd/bdd.c
rb4c9c61 rfdbc3ff 68 68 unsigned int argc; 69 69 unsigned int i, j; 70 dev _handle_t handle;70 devmap_handle_t handle; 71 71 uint8_t *blk; 72 72 size_t size, bytes, rows; -
uspace/app/getterm/getterm.c
rb4c9c61 rfdbc3ff 84 84 bool print_wmsg; 85 85 86 ++argv; --argc; 86 argv++; 87 argc--; 87 88 if (argc < 1) { 88 89 usage(); … … 92 93 if (str_cmp(*argv, "-w") == 0) { 93 94 print_wmsg = true; 94 ++argv; --argc; 95 argv++; 96 argc--; 95 97 } else { 96 98 print_wmsg = false; -
uspace/app/init/init.c
rb4c9c61 rfdbc3ff 185 185 186 186 /* Wait for the input device to be ready */ 187 dev _handle_t handle;187 devmap_handle_t handle; 188 188 rc = devmap_device_get_handle(dev, &handle, IPC_FLAG_BLOCKING); 189 189 if (rc != EOK) { … … 210 210 211 211 /* Wait for the terminal device to be ready */ 212 dev _handle_t handle;212 devmap_handle_t handle; 213 213 rc = devmap_device_get_handle(dev, &handle, IPC_FLAG_BLOCKING); 214 214 if (rc != EOK) { -
uspace/app/mkfat/mkfat.c
rb4c9c61 rfdbc3ff 85 85 struct fat_params *par); 86 86 static int fat_blocks_write(struct fat_params const *par, 87 dev _handle_t handle);87 devmap_handle_t handle); 88 88 static void fat_bootsec_create(struct fat_params const *par, struct fat_bs *bs); 89 89 … … 95 95 int rc; 96 96 char *dev_path; 97 dev _handle_t handle;97 devmap_handle_t handle; 98 98 size_t block_size; 99 99 char *endptr; … … 234 234 235 235 /** Create file system with the given parameters. */ 236 static int fat_blocks_write(struct fat_params const *par, dev _handle_t handle)236 static int fat_blocks_write(struct fat_params const *par, devmap_handle_t handle) 237 237 { 238 238 aoff64_t addr; -
uspace/app/netecho/print_error.h
rb4c9c61 rfdbc3ff 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
rb4c9c61 rfdbc3ff 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/test_serial/test_serial.c
rb4c9c61 rfdbc3ff 69 69 int res; 70 70 res = devman_get_phone(DEVMAN_CLIENT, IPC_FLAG_BLOCKING); 71 dev ice_handle_t handle;71 devman_handle_t handle; 72 72 73 73 res = devman_device_get_handle("/hw/pci0/00:01.0/com1", &handle,
Note:
See TracChangeset
for help on using the changeset viewer.