[fpc-devel] wasi fd_prestat_get unimplemented

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Sep 21 14:28:57 CEST 2022


Hi,

Since last week wasi system unit calls fd_prestat_get, which is not yet
implemented:

pas2js git, unit packages/wasi/wasienv.pas :

function TPas2JSWASIEnvironment.fd_prestat_get(fd, bufPtr: NativeInt
  ): NativeInt;
begin
  console.log('Unimplemented: TPas2JSWASIEnvironment.fd_prestat_get');
  Result:=WASI_EBADF;
end;

Was some file not committed?

Mattias


More information about the fpc-devel mailing list