Nathan Hartman
|
1867bc2210
|
Fix compiler warnings (-Wunused-parameter) in various functions
Fixes the -Wunused-parameter warning in:
* group/group_signal.c: group_signal()
* irq/irq_unexpectedisr.c: irq_unexpected_isr()
* task/task_spawn.c: nxtask_spawn_proxy()
* timer/timer_getoverrun.c: timer_getoverrun()
* misc/dev_null.c: devnull_read(), devnull_write(), devnull_poll()
* misc/dev_zero.c: devzero_read(), devzero_write(), devzero_poll()
* syslog/syslog_channel.c: syslog_default_write()
* syslog/syslog_device.c: syslog_dev_flush()
* grp/lib_initgroups.c: initgroups()
* misc/lib_mknod.c: mknod()
* misc/lib_glob.c: ignore_err()
* pthread/pthread_barrierinit.c: pthread_barrier_init()
* pthread/pthread_atfork.c: pthread_atfork()
* semaphore/sem_init.c: nxsem_init()
* stream/lib_nullinstream.c: nullinstream_getc()
* stream/lib_nulloutstream.c: nulloutstream_putc()
* stream/lib_libnoflush.c: lib_noflush()
* stream/lib_libsnoflush.c: lib_snoflush()
* string/lib_strerror.c: strerror()
* time/lib_gettimeofday.c: gettimeofday()
* time/lib_settimeofday.c: settimeofday()
* unistd/lib_pathconf.c: fpathconf(), pathconf()
* unistd/lib_getrusage.c: getrusage()
* unistd/lib_setrlimit.c: setrlimit()
* unistd/lib_getrlimit.c: getrlimit()
* unistd/lib_setpriority.c: setpriority()
|
2022-07-12 11:42:34 +08:00 |
|
Xiang Xiao
|
f1236da21c
|
fs: Make the binary(no process) mode as the default
POSIX require file system shouldn't enable the \r and \n conversion by default
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-06-07 20:22:26 +03:00 |
|
Xiang Xiao
|
5cb82dfcfb
|
libc/blkoutstream: Minor style fix
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-04-18 19:21:22 +03:00 |
|
chao.an
|
889a3bf7fc
|
libc/blockstream: add block out stream backend
Signed-off-by: chao.an <anchao@xiaomi.com>
|
2022-04-18 19:21:22 +03:00 |
|
Xiang Xiao
|
ef1a98dd00
|
Remove the unneeded void cast
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2022-04-17 23:32:05 +03:00 |
|
chao.an
|
ce1c8413a2
|
libc/lzfcompress: add lzf compress stream
compress stream based on lzf algorithm:
struct lib_rawoutstream_s rawstream;
struct lib_lzfoutstream_s lzfstream;
lib_rawoutstream(&rawstream, fd);
lib_lzfoutstream(&lzfstream, &rawstream);
Signed-off-by: chao.an <anchao@xiaomi.com>
|
2021-12-20 08:39:33 -06:00 |
|
Xiang Xiao
|
b869c1ce0e
|
libc: Move stream implementation from libs/libc/stdio to libs/libc/stream
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
2021-12-14 00:51:59 -06:00 |
|