Blame


1 805e39bf 2021-07-22 op /*
2 805e39bf 2021-07-22 op * Copyright (c) 2021 Omar Polo <op@omarpolo.com>
3 805e39bf 2021-07-22 op *
4 805e39bf 2021-07-22 op * Permission to use, copy, modify, and distribute this software for any
5 805e39bf 2021-07-22 op * purpose with or without fee is hereby granted, provided that the above
6 805e39bf 2021-07-22 op * copyright notice and this permission notice appear in all copies.
7 805e39bf 2021-07-22 op *
8 805e39bf 2021-07-22 op * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
9 805e39bf 2021-07-22 op * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
10 805e39bf 2021-07-22 op * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
11 805e39bf 2021-07-22 op * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
12 805e39bf 2021-07-22 op * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
13 805e39bf 2021-07-22 op * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
14 805e39bf 2021-07-22 op * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 805e39bf 2021-07-22 op */
16 805e39bf 2021-07-22 op
17 805e39bf 2021-07-22 op /* XXX: on linux it's possible to glob("/proc/$pid/fd/ *") to know the
18 805e39bf 2021-07-22 op * dtablecount. */
19 805e39bf 2021-07-22 op
20 805e39bf 2021-07-22 op #include "compat.h"
21 805e39bf 2021-07-22 op
22 805e39bf 2021-07-22 op int
23 805e39bf 2021-07-22 op getdtablecount(void)
24 805e39bf 2021-07-22 op {
25 805e39bf 2021-07-22 op return 0;
26 805e39bf 2021-07-22 op }