The unpac monorepo manager self-hosting as a monorepo using unpac
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge pull request #817 from talex5/fix-windows-link

Remove unused unix_cstruct.ml file

authored by

Thomas Leonard and committed by
GitHub
090ed8be 693dfccf

-42
-42
vendor/opam/eio/lib_eio_windows/unix_cstruct.ml
··· 1 - (* See the end of the file for the license *) 2 - external stub_write : Unix.file_descr -> Cstruct.t -> int = "eio_windows_cstruct_write" 3 - 4 - let rec write fd buf = 5 - if Cstruct.length buf > 0 then begin 6 - let n = stub_write fd buf in 7 - write fd @@ Cstruct.shift buf n 8 - end 9 - 10 - let writev fd bufs = List.iter (write fd) bufs 11 - 12 - external read : Unix.file_descr -> Cstruct.t -> int = "eio_windows_cstruct_read" 13 - 14 - (* From mirage/ocaml-cstruct 15 - Copyright (c) 2012 Anil Madhavapeddy <anil@recoil.org> 16 - Copyright (c) 2012 Pierre Chambart 17 - Copyright (c) Christiano F. Haesbaert <haesbaert@haesbaert.org> 18 - Copyright (c) Citrix Inc 19 - Copyright (c) David Sheets <sheets@alum.mit.edu> 20 - Copyright (c) Drup <drupyog@zoho.com> 21 - Copyright (c) Hannes Mehnert <hannes@mehnert.org> 22 - Copyright (c) Jeremy Yallop <yallop@gmail.com> 23 - Copyright (c) Mindy Preston <meetup@yomimono.org> 24 - Copyright (c) Nicolas Ojeda Bar <n.oje.bar@gmail.com> 25 - Copyright (c) Richard Mortier <mort@cantab.net> 26 - Copyright (c) Rudi Grinberg <rudi.grinberg@gmail.com> 27 - Copyright (c) Thomas Gazagnaire <thomas@gazagnaire.com> 28 - Copyright (c) Thomas Leonard <talex5@gmail.com> 29 - Copyright (c) Vincent Bernardoff <vb@luminar.eu.org> 30 - Copyright (c) pqwy <david@numm.org> 31 - 32 - Permission to use, copy, modify, and distribute this software for any 33 - purpose with or without fee is hereby granted, provided that the above 34 - copyright notice and this permission notice appear in all copies. 35 - 36 - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 37 - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 38 - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 39 - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 40 - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 41 - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 42 - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. *)