Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 

18 righe
620 B

  1. // Copyright 2009 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
  5. package unix
  6. import "syscall"
  7. // ParseDirent parses up to max directory entries in buf,
  8. // appending the names to names. It returns the number of
  9. // bytes consumed from buf, the number of entries added
  10. // to names, and the new names slice.
  11. func ParseDirent(buf []byte, max int, names []string) (consumed int, count int, newnames []string) {
  12. return syscall.ParseDirent(buf, max, names)
  13. }