Rev |
Age |
Author |
Path |
Log message |
Diff |
4512 |
5596 d 18 h |
decky |
/trunk/uspace/lib/libc/generic/io/ |
cstyle |
|
4511 |
5596 d 18 h |
svoboda |
/trunk/uspace/lib/libc/generic/io/ |
getchar() and fgetc() are traditionally supposed to flush stdout and stderr. |
|
4510 |
5596 d 19 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
A little bit of cleanup and a remedy for great confusion introduced in revision 2483. |
|
4509 |
5597 d 0 h |
decky |
/trunk/uspace/ |
rename libadt -> adt |
|
4508 |
5597 d 1 h |
decky |
/trunk/uspace/lib/libc/ |
keep a list of open files to support proper cleanup |
|
4496 |
5600 d 21 h |
decky |
/trunk/uspace/ |
be more pedantic about undefined function prototypes (to avoid memory access traps)
add missing header files |
|
4492 |
5601 d 3 h |
jermar |
/trunk/uspace/ |
inode_t -> fdi_node_t |
|
4491 |
5601 d 15 h |
decky |
/trunk/uspace/ |
rename libc's fs_node_t to inode_t to avoid type conflict with VFS |
|
4482 |
5601 d 18 h |
decky |
/trunk/uspace/lib/libc/ |
I/O subsystem overhaul:
- add more POSIX-like file and stream functions (with real functionality of stdin, stdout, stderr)
- cleanup console access methods (now generic to any console-like device)
- remove unsafe stream functions
- add special open_node(), fd_node(), fd_phone() (file) and fopen_node(), fnode(), fphone() (stream) functions for HelenOS-specific I/O operations |
|
4478 |
5601 d 18 h |
decky |
/trunk/uspace/lib/libc/generic/ |
explicit typecast |
|
4477 |
5601 d 18 h |
decky |
/trunk/uspace/lib/libc/generic/ |
setup stdin, stdout and stderr according to preset file nodes
cleanup |
|
4476 |
5601 d 18 h |
decky |
/trunk/uspace/lib/libc/generic/ |
add support for passing preset files
cleanup |
|
4475 |
5601 d 18 h |
decky |
/trunk/uspace/lib/libc/ |
async framework: add generic support for processing pending operations (in a separate fibril)
coding style |
|
4474 |
5601 d 18 h |
decky |
/trunk/uspace/lib/libc/generic/ |
add serialization (just to be sure) |
|
4473 |
5601 d 18 h |
decky |
/trunk/uspace/lib/libc/generic/ |
avoid compiler warning |
|
4472 |
5601 d 18 h |
decky |
/trunk/uspace/lib/libc/ |
replace count_t with size_t
coding style |
|
4471 |
5601 d 18 h |
decky |
/trunk/uspace/lib/libc/generic/ |
cstyle |
|
4470 |
5601 d 18 h |
decky |
/trunk/uspace/lib/libc/ |
pass current task stdin, stdout and stderr as preset files to the loader
add task_wait() |
|
4469 |
5601 d 18 h |
decky |
/trunk/uspace/lib/libc/generic/ |
avoid compiler warning |
|
4416 |
5615 d 6 h |
decky |
/trunk/uspace/ |
improve devmap interface
remove spared device |
|
4415 |
5615 d 7 h |
decky |
/trunk/uspace/lib/libc/ |
add list_count()
cstyle |
|
4407 |
5616 d 16 h |
jermar |
/trunk/ |
Add IPC_M_CONNECTION_CLONE and IPC_M_CONNECT_ME. |
|
4404 |
5616 d 16 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
Fix ipc_forward_slow(). |
|
4403 |
5616 d 18 h |
svoboda |
/trunk/uspace/lib/libc/generic/ |
pio_enable() was not allocating address space properly (unless sz <= PAGE_SIZE). |
|
4401 |
5617 d 18 h |
svoboda |
/trunk/uspace/ |
C binding for devmap. Gets rid of duplicate code. |
|
4381 |
5624 d 17 h |
jermar |
/trunk/uspace/lib/libc/generic/ |
msg->wdata.inlist needs to be allocated before the reply_received()
callback can be called. |
|
4353 |
5633 d 4 h |
svoboda |
/trunk/uspace/lib/libc/ |
klog_puts() is useful for debugging. |
|
4324 |
5641 d 22 h |
decky |
/trunk/uspace/lib/libc/ |
create a new fibril for each notification received, which allows to do nested async calls from the notification handler
(this fixes ticket #19 and solves various problems with klog) |
|
4317 |
5642 d 6 h |
decky |
/trunk/ |
use buffering for klog output (this can be used to avoid the ugly usleeps while starting tasks)
unify and cleanup console.c and related files |
|
4312 |
5644 d 21 h |
decky |
/trunk/ |
fix of-by-one-character bug in str_chr() and str_rchr() |
|
4305 |
5647 d 22 h |
jermar |
/trunk/uspace/ |
Support mount options.
Let tmpfs decide whether to start empty or restored a TMPFS dump based on the mount option. |
|
4302 |
5648 d 0 h |
jermar |
/trunk/uspace/ |
Make IPC_M_PING part of the VFS_MOUNT protocol again. |
|
4293 |
5650 d 2 h |
decky |
/trunk/uspace/lib/libc/ |
don't forget to flush the console after the application finishes
(yes, this is not very elegant, but until we have a proper stdin/stdout/stderr, the whole console stuff, buffering, etc. is just a big heap of hacks) |
|
4281 |
5651 d 18 h |
svoboda |
/trunk/ |
Forbid destination string buffers of size zero altogether as they most probably indicate programming error. |
|
4280 |
5651 d 18 h |
svoboda |
/trunk/uspace/lib/libc/ |
strcat() -> str_append(). |
|
4279 |
5651 d 18 h |
svoboda |
/trunk/uspace/ |
Nuke strncmp(). |
|
4268 |
5656 d 6 h |
svoboda |
/trunk/uspace/ |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy(). |
|
4266 |
5656 d 15 h |
svoboda |
/trunk/uspace/ |
strdup() -> str_dup() |
|
4265 |
5656 d 16 h |
svoboda |
/trunk/uspace/ |
Nuke strchr() and strrchr(). |
|
4264 |
5656 d 16 h |
svoboda |
/trunk/uspace/ |
Nuke strcpy() and strcmp(). |
|