On 29/08/16 12:59, Jan Beulich wrote: > Hello, > > in the context of > https://lists.xenproject.org/archives/html/xen-devel/2016-08/msg03068.html > I once again came across the different behavior our various > implementations of the $subject functions, in particular their varying > handling of the offset argument being greater / greater-or-equal > the size argument. Shouldn't we settle on a single, uniform model, > which might be > 1) offset >= size is valid, returns size, > 2) offset == size is valid, returns size, offset > size is invalid, > 3) offset >= size is invalid.
What does the linux implementation do? David _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel