diff options
author | Jiri Olsa <jolsa@redhat.com> | 2013-11-28 11:30:16 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2013-12-02 09:22:46 -0300 |
commit | bc3a502bc2bc78d03526d6abcc5697aab18d5ae9 (patch) | |
tree | 9811125522636d12b6c2bb67d8ef4e8c69f6511c /crypto | |
parent | 838d14520267769648fb2fc2a637107a1d102590 (diff) | |
download | op-kernel-dev-bc3a502bc2bc78d03526d6abcc5697aab18d5ae9.zip op-kernel-dev-bc3a502bc2bc78d03526d6abcc5697aab18d5ae9.tar.gz |
perf tools: Add writen function
Adding 'writen' function as a synchronous wrapper for write syscall with
following prototype:
ssize_t writen(int fd, void *buf, size_t n)
Returns the number of bytes written on success or -1 in case of err.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Requested-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1385634619-8129-5-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions