diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-07-03 20:40:26 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2018-07-03 20:40:26 +0000 |
commit | 7172f60910c3353e8a649d297b80d3bcab9cabfe (patch) | |
tree | da1b4649fcf0d17b6d56cff207990e21be67cd8e /lib/libm/arch/amd64/s_rint.S | |
parent | 9decf10757b69d8f3d9fc71615993eb79208ce45 (diff) |
Add a new so_seek member to "struct file" such that we can have seekable
files that aren't vnodes. Move the vnode-specific code into its own
function. Add an implementation for the "DMA buffers" that can be used
by DRI3/prime code to find out the size of the graphics buffer.
This implementation is very limited and only supports offset 0 and only
for SEEK_SET and SEEK_END. This doesn't really make sense; implementing
stat(2) would be a more obvious choice. But this is what Linux does.
ok guenther@, visa@
Diffstat (limited to 'lib/libm/arch/amd64/s_rint.S')
0 files changed, 0 insertions, 0 deletions