|
|
@1569a9b
|
7 years |
noreply |
The "not-so-obvious" error handling tweaks. (#9)
Some more changes to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd8ab1c
|
7 years |
zarevucky.jiri |
More str_error() additions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f77c1c9
|
7 years |
zarevucky.jiri |
Return VFS handles separately from error codes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e3498b
|
7 years |
jiri |
vfs_read/write() should return error code separately from number of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@582a0b8
|
8 years |
jakub |
Remove unistd.h
- Rename usleep() and sleep() to thread_usleep() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a6fc88a
|
8 years |
jakub |
Let vfs_link() and vfs_link_path() return the linked file handle
Add …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ce04ea44
|
8 years |
jakub |
Rename read() to vfs_read() and write() to vfs_write()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9c4cf0d
|
8 years |
jakub |
Rename close() to vfs_put()
This is motivated mainly by the fact that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b19e892
|
8 years |
jakub |
Merge open() with posix_open() and provide vfs_lookup_open() instead
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6e5562a
|
8 years |
jakub |
Introduce vfs_link_path() and replace mkdir() with it
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@79ea5af
|
8 years |
jakub |
Rename unlink() to vfs_unlink_path() and _vfs_unlink() to vfs_unlink() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@23a0368
|
8 years |
jakub |
Rename stat() to vfs_stat_path() and fstat() to vfs_stat()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@58898d1d
|
8 years |
jakub |
Remove VFS_IN_SEEK from VFS
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@38aaf005
|
8 years |
jakub |
Callers of open() must use exactly one of O_RDONLY, O_WRONLY and O_RDWR
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6afc9d7
|
9 years |
jiri |
UNIX-like I/O functions should use errno to return error code for many …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@86cf96d
|
10 years |
jakub |
Set optreset before each option parsing
(Thanks to Luka Strižić)
bdsh …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@07b7c48
|
12 years |
jiri |
Extend console library API to support different event types.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e367f5b8
|
13 years |
vojtechhorky |
Interactive mode for cp (when overwriting)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1737bfb
|
13 years |
jakub |
cp improvements
(Thanks to Maurizio Lombardi)
- Support for the -r …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6348376
|
13 years |
jakub |
Make use of read_all() and write_all() in bdsh's cp.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36ab7c7
|
14 years |
jiri |
Standardize formatting of copyright headers in Bdsh and add some that …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2815505
|
14 years |
jakub |
cp should update the buffer address if multiple write()'s are needed.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7e752b2
|
14 years |
martin |
* correct printf() formatting strings and corresponding arguments
* …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19f857a
|
15 years |
jiri |
Rename string.h to str.h to avoid header conflict with standard C string.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed903174
|
15 years |
martin |
implement support for 64bit file offsets
* the libc API is a small …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b3cf90
|
15 years |
jirik.svoboda |
Fix warnings in Bdsh and PCI lib.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bffd91f
|
16 years |
echo |
cstyle (nits) 80 column limit
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7be230
|
16 years |
echo |
Stop using assert() in modules/builtins as abort() will crash the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@890793b
|
16 years |
jakub |
Nits.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8df7a1c
|
16 years |
jakub |
Several fixes for cp.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4c4ddbe9
|
16 years |
echo |
cp: Fix counter if verbose, remove debug printfs
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c3c5640
|
16 years |
echo |
cp: fix type mis-match
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3b10e07b
|
16 years |
echo |
make copy_file() deal with files with zero length
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee02922
|
16 years |
echo |
cp: don't return CMD_FAILURE for zero length files
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2640b6c
|
16 years |
echo |
Implement a rudamentary 'cp' for testing write()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@39463ff
|
16 years |
echo |
Add skeletal sleep and cp commands (not yet working)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|