diff options
author | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-09-27 09:24:51 +0200 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-10-01 10:21:33 +0200 |
commit | cb2dba2c1257e0aa80edc9a171a9c5cd7b2822f8 (patch) | |
tree | 437e9be13be7c6c6880a878da7acc7d1eb35b9a6 /src/helper/replacements.h | |
parent | 5a41435e45ae18c0823780382c214fb7324dbe7d (diff) | |
download | openocd_libswd-cb2dba2c1257e0aa80edc9a171a9c5cd7b2822f8.tar.gz openocd_libswd-cb2dba2c1257e0aa80edc9a171a9c5cd7b2822f8.tar.bz2 openocd_libswd-cb2dba2c1257e0aa80edc9a171a9c5cd7b2822f8.tar.xz openocd_libswd-cb2dba2c1257e0aa80edc9a171a9c5cd7b2822f8.zip |
server: read/write now goes through connection fn's
depending on whether the connection is over a socket
or pipe, the read is done differently.
pipes can return -1 when writing 0 bytes, make 0 byte
writes a successful no-op. 0 byte writes falls out
naturally of tcl server code.
Signed-off-by: Øyvind Harboe <oyvind.harboe@zylin.com>
Diffstat (limited to 'src/helper/replacements.h')
0 files changed, 0 insertions, 0 deletions