This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssize_t | |
nxs_sendfile(const int out_fd, const int in_fd, | |
off_t *offset, const size_t size) { | |
#if defined(__linux__) | |
const ssize_t nw = sendfile(out_fd, in_fd, offset, size); | |
return nw; | |
#elif defined(__FreeBSD__) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module GoogleChart exposing (..) | |
import Html exposing (Html) | |
import Html.Attributes as HtmlA | |
import Json.Encode as E | |
import List.Extra as List | |
import Chart exposing (..) | |
colors = |