errno
Posted: Wed Feb 24, 2010 2:48 am
how would I get the last errno in PB for linux?
Code: Select all
ImportC ""
errno_location() As "__errno_location"
EndImport
open_( "/tmp/llololol", 0, 0644 ) ; produces an error
Debug PeekS(strerror_(PeekL(errno_location())))