aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/go/_std_1.21/src/os/rlimit_stub.go
blob: cbe28400c5b47d9826dfc7bbfb4523a7f4d9f062 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright 2022 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

//go:build aix || dragonfly || freebsd || linux || netbsd || openbsd || solaris

package os

import "syscall"

// adjustFileLimit adds per-OS limitations on the Rlimit used for RLIMIT_NOFILE. See rlimit.go.
func adjustFileLimit(lim *syscall.Rlimit) {}