Lines Matching defs:ret
377 int ret;
529 if ((ret = sscanf(optarg, "%i%c", &grow_incr, &chr)) < 1
538 if (ret == 2) {
853 if ((ret =
863 if (ret == 2) {
1421 ret =
1429 ret = open_flags;
1431 Fileinfo.openflags = ret;
1437 Iter_cnt, filename, ret,
1438 openflags2symbols(ret, ",", 0));
1443 Iter_cnt, filename, ret);
1449 if ((fd = open(filename, ret, 0777)) == -1) {
1453 __LINE__, filename, ret, errno,
1953 int ret;
2042 ret =
2045 ret = write_buffer(fd, io_type, "w", 1, 0, &errmsg);
2048 if (ret != 1) {
2052 if (ret == -ENOSPC) {
2195 ret=write(fd, buf, grow_incr);
2201 if (ret != grow_incr) {
2209 ret = lio_write_buffer(fd, io_type, buf, grow_incr,
2212 ret = write_buffer(fd, io_type, buf, grow_incr, 0, &errmsg);
2260 if (ret != grow_incr) {
2264 if (ret == -ENOSPC) {
2359 int ret;
2451 ret = trunc(fd);
2453 ret = ftruncate(fd, new_offset);
2454 if (ret == 0 && Debug > 3) {
2463 if (ret == -1) {
2495 int ret = 0;
2589 ret =
2593 ret = read_buffer(fd, io_type, Buffer, Grow_incr, 0, &errmsg);
2600 if (ret != Grow_incr) {
2645 ret =
2648 ret = datapidchk(Pid, Buffer, Grow_incr, Woffset, &errmsg);
2650 ret = dataasciichk(NULL, Buffer, Grow_incr, Woffset, &errmsg);
2653 ret = databinchk('a', Buffer, Grow_incr, Woffset, &errmsg);
2655 ret = databinchk('c', Buffer, Grow_incr, Woffset, &errmsg);
2657 ret = databinchk('C', Buffer, Grow_incr, Woffset, &errmsg);
2659 ret = databinchk('z', Buffer, Grow_incr, Woffset, &errmsg);
2661 ret = databinchk('o', Buffer, Grow_incr, Woffset, &errmsg);
2663 ret = dataasciichk(NULL, Buffer, Grow_incr, Woffset, &errmsg);
2665 if (ret >= 0) {
2699 int ret;
2775 ret = lio_read_buffer(fd, io_type, buf, rd_size,
2778 ret =
2782 if (ret != rd_size) {
2795 ret =
2799 ret =
2803 ret =
2808 ret =
2812 ret =
2816 ret =
2820 ret =
2824 ret =
2828 ret =
2832 if (ret >= 0) {
2867 ret =
2871 ret = read_buffer(fd, io_type, buf, fsize, 0, &errmsg);
2877 if (ret != fsize) {
2884 ret =
2888 ret = datapidchk(Pid, buf, fsize, 0, &errmsg);
2890 ret =
2894 ret = databinchk('a', buf, fsize, 0, &errmsg);
2896 ret = databinchk('c', buf, fsize, 0, &errmsg);
2898 ret = databinchk('C', buf, fsize, 0, &errmsg);
2900 ret = databinchk('z', buf, fsize, 0, &errmsg);
2902 ret = databinchk('o', buf, fsize, 0, &errmsg);
2904 ret =
2907 if (ret >= 0) {