/*
- * Copyright (C) 2011 Andre Noll <maan@systemlinux.org>
+ * Copyright (C) 2011-2012 Andre Noll <maan@systemlinux.org>
*
* Licensed under the GPL v2. For licencing details see COPYING.
*/
sz = btr_next_buffer(btrn, &buf);
if (sz == 0)
goto out;
- ret = write_nonblock(ici->fds[1], buf, sz);
+ ret = xwrite(ici->fds[1], buf, sz);
if (ret < 0)
goto rm_btrn;
btr_consume(btrn, ret);
* This function is independent of readline and may be called before
* i9e_open().
*
- * return The number of possible completions.
+ * \return The number of possible completions.
*/
int i9e_extract_completions(const char *word, char **string_list,
char ***result)