Changeset 19b28b0 in mainline for uspace/lib/libc/include


Ignore:
Timestamp:
2009-03-02T17:31:05Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8026731
Parents:
97c9da8
Message:

add IPC_FLAG_BLOCKING for generic IPC blocking operations
add ipc_connect_me_to_blocking() for blocking connections
mount() has new flags argument
get_cons_phone() → get_console_phone()
add common console_wait()
simplify vfs_connect() using blocking connection
add blocking support for device_get_handle()
swap VFS_MOUNT arguments, and blocking mount support

Location:
uspace/lib/libc/include
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/async.h

    r97c9da8 r19b28b0  
    7777    async_send_slow((phoneid), (method), (arg1), (arg2), (arg3), (arg4), \
    7878        (arg5), (dataptr))
    79  
     79
    8080extern aid_t async_send_fast(int phoneid, ipcarg_t method, ipcarg_t arg1,
    8181    ipcarg_t arg2, ipcarg_t arg3, ipcarg_t arg4, ipc_call_t *dataptr);
     
    8787    suseconds_t timeout);
    8888
    89 fid_t async_new_connection(ipcarg_t in_phone_hash,ipc_callid_t callid,
    90     ipc_call_t *call, void (*cthread)(ipc_callid_t,ipc_call_t *));
     89fid_t async_new_connection(ipcarg_t in_phone_hash, ipc_callid_t callid,
     90    ipc_call_t *call, void (*cthread)(ipc_callid_t, ipc_call_t *));
    9191void async_usleep(suseconds_t timeout);
    9292void async_create_manager(void);
  • uspace/lib/libc/include/io/stream.h

    r97c9da8 r19b28b0  
    4848extern ssize_t write_stderr(const void *, size_t);
    4949
    50 extern int get_cons_phone(void);
     50extern int get_console_phone(void);
     51extern void console_wait(void);
    5152
    5253#endif
  • uspace/lib/libc/include/ipc/ipc.h

    r97c9da8 r19b28b0  
    247247    ipcarg_t, ipcarg_t, void *, ipc_async_callback_t, int);
    248248
     249#define IPC_FLAG_BLOCKING  0x01
     250
    249251extern int ipc_connect_to_me(int, int, int, int, ipcarg_t *);
    250252extern int ipc_connect_me_to(int, int, int, int);
     253extern int ipc_connect_me_to_blocking(int, int, int, int);
    251254extern int ipc_hangup(int);
    252255extern int ipc_register_irq(int, int, int, irq_code_t *);
  • uspace/lib/libc/include/ipc/services.h

    r97c9da8 r19b28b0  
    3131 */
    3232/**
    33  * @file        services.h
    34  * @brief       List of all known services and their codes.
     33 * @file  services.h
     34 * @brief List of all known services and their codes.
    3535 */
    3636
  • uspace/lib/libc/include/vfs/vfs.h

    r97c9da8 r19b28b0  
    4040extern char *absolutize(const char *, size_t *);
    4141
    42 extern int mount(const char *, const char *, const char *);
     42extern int mount(const char *, const char *, const char *,
     43    const unsigned int flags);
    4344
    4445#endif
Note: See TracChangeset for help on using the changeset viewer.