Commit Graph

15 Commits

Author SHA1 Message Date
Oliver Schmidt
07f3df45be Converted scope-local variables into function-local variables.
The 6502-specific LC implementation doesn't allow for scope-local vaiables between PT_BEGIN/PROCESS_BEGIN/PSOCK_BEGIN and PT_BEGIN/PROCESS_END/PSOCK_END.
2011-04-12 14:12:09 +02:00
nvt-se
40f7541f88 Report an error if cfs_write failed. 2010-04-12 13:21:58 +00:00
adamdunkels
217fa504e7 Small documentation fix 2010-02-03 20:40:00 +00:00
nvt-se
79b7cab36e the third read parameter must be checked for existence.
updated the documentation to cover the third parameter.
2009-05-12 14:22:58 +00:00
nvt-se
571c815ad3 use unsigned long to print total file size. 2009-03-19 20:42:39 +00:00
nvt-se
a0226e2418 switched all users of cfs_seek(x,y) to cfs_seek(x,y,CFS_SEEK_SET) 2009-02-27 14:28:02 +00:00
adamdunkels
47a6eb5210 Fixes by Luca Mottola: don't call write with zero-length data; added parameter to specify block size to read command 2009-02-19 22:56:56 +00:00
nvt-se
53355d095c increase file size range for display in the ls command. 2008-12-01 15:58:14 +00:00
nvt-se
1389555ad5 adjusted shell for the generic remove command. 2008-11-24 15:18:27 +00:00
oliverschmidt
0d8e8136e9 Avoid compiler warning. 2008-07-06 10:34:44 +00:00
adamdunkels
fa9a34993f Added an optional 'offset' parameter to the read command. With the offset parameter, reading starts 'offset' bytes into the file 2008-07-03 21:13:54 +00:00
adamdunkels
adbf6c47ab Bugfix: don't try to read/write/append to file if it was not possible to open it. Bugfix: CFS file descriptors that are 0 are OK. 2008-07-02 14:06:46 +00:00
oliverschmidt
90797f15a7 Fixed copy&paste issue. 2008-05-24 08:31:56 +00:00
oliverschmidt
6deed3d9aa Print directory entry size right-justified. 2008-03-29 13:57:30 +00:00
adamdunkels
a26d87e09e Rewrite of the old Contiki shell. The new shell supports dynamic
insertion of new commands and command pipelining. There are also a
bunch of new commands for network access (using Rime): ping, data
collection, packet sniffing, sending shell commands across the
network, and testing the single-hop throughput to neighboring
nodes. Commands are also available for reading from and writing to
files, reading the sensors (on the Tmote Sky platform), and accessing
the power and energy consumption of the system. Dynamic loading of
programs across the network is also possible, although a little
untested at the moment.
2008-02-04 23:42:17 +00:00