Merge pull request #2441 from TheAnonymous/devel
fixes https://github.com/Araq/Nim/issues/2116
This commit is contained in:
commit
4b81d539a1
1 changed files with 2 additions and 1 deletions
|
|
@ -95,10 +95,11 @@ type
|
|||
header: "<dirent.h>", final, pure.} = object ## dirent_t struct
|
||||
d_ino*: Tino ## File serial number.
|
||||
when defined(linux) or defined(macosx) or defined(bsd):
|
||||
d_off*: TOff ## Not an offset. Value that ``telldir()`` would return.
|
||||
d_reclen*: cshort ## Length of this record. (not POSIX)
|
||||
d_type*: int8 ## Type of file; not supported by all filesystem types.
|
||||
## (not POSIX)
|
||||
when defined(linux) or defined(bsd):
|
||||
d_off*: TOff ## Not an offset. Value that ``telldir()`` would return.
|
||||
d_name*: array [0..255, char] ## Name of entry.
|
||||
|
||||
Tflock* {.importc: "struct flock", final, pure,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue