Class StatBuf

All Implemented Interfaces:
Proxy

@Generated("org.javagi.JavaGI") public class StatBuf extends ProxyInstance

A type corresponding to the appropriate struct type for the stat() system call, depending on the platform and/or compiler being used.

See g_stat() for more information.

  • Constructor Details

    • StatBuf

      public StatBuf(MemorySegment address)
      Create a StatBuf proxy instance for the provided memory address.
      Parameters:
      address - the memory address of the native object
  • Method Details

    • getMemoryLayout

      public static MemoryLayout getMemoryLayout()
      The memory layout of the native struct.
      Returns:
      the memory layout