Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2017 14:44:12 +0200
From:      Ed Schouten <ed@nuxi.nl>
To:        Pietro Cerutti <gahr@freebsd.org>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all@freebsd.org,  svn-src-head@freebsd.org
Subject:   Re: svn commit: r319897 - head/usr.bin/yes
Message-ID:  <CABh_MK=MVEEKVhq3BmWUoPcnzxFEM0D1WZ01SQXa0RgV_wnBRA@mail.gmail.com>
In-Reply-To: <201706131235.v5DCZ1aR077437@repo.freebsd.org>
References:  <201706131235.v5DCZ1aR077437@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2017-06-13 14:35 GMT+02:00 Pietro Cerutti <gahr@freebsd.org>:
> +       while (write(STDOUT_FILENO, exp, explen) > 0)
> +               ;

How does this deal with partial writes?

-- 
Ed Schouten <ed@nuxi.nl>
Nuxi, 's-Hertogenbosch, the Netherlands
KvK-nr.: 62051717



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABh_MK=MVEEKVhq3BmWUoPcnzxFEM0D1WZ01SQXa0RgV_wnBRA>