You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: rlimit.go
    path of file: ./repos/parca-agent/pkg/rlimit
    
    the code of the file until where you have to start completion: // Copyright 2022-2024 The Parca Authors
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this f
    
func Files() (int, int, error) {
	var limit syscall.Rlimit
	if err := syscall.Getrlimit(syscall.RLIMIT_NOFILE, &limit); err != nil {
		return 0, 0, err
	}
	// From the manpage:
	// > This specifies a value one greater than the maximum file
	// > descriptor number that can be opened by this process.
	return int(limit.Cur), int(limit.Max) - 1, nil
}