func FDLimit() (uint64, error) { … } func FDUsage() (uint64, error) { … } // countFiles reads the directory named by dirname and returns the count. func countFiles(dirname string) (uint64, error) { … }
func FDLimit() (uint64, error) { … } func FDUsage() (uint64, error) { … } // countFiles reads the directory named by dirname and returns the count. func countFiles(dirname string) (uint64, error) { … }