12.9.3 Interacting with foreign streams
All
Application
Manual
Name
Summary
Help
Documentation
Reference manual
Foreign Language Interface
Foreign access to Prolog IO streams
Interacting with foreign streams
Sset_timeout()
Sunit_size()
Sputc()
Sgetc()
Sfgetc()
Sungetc()
Sputcode()
Sgetcode()
Speekcode()
Sputw()
Sgetw()
Sfread()
Sfwrite()
Sfeof()
Sfpasteof()
Ssetlocale()
Sflush()
Ssize()
Sseek()
Sseek64()
Stell()
Stell64()
Sclose()
Sgcclose()
Sfgets()
Sgets()
Sread_pending()
Spending()
Sfputs()
Sputs()
Sfprintf()
SfprintfX()
Sprintf()
Svprintf()
Ssprintf()
Ssnprintf()
SsnprintfX()
Svsprintf()
Svsnprintf()
Sdprintf()
SdprintfX()
Svdprintf()
Slock()
StryLock()
Sunlock()
Sfileno()
Swinsock()
Sclosehook()
Sset_filter()
Ssetbuffer()
Writing Prolog terms to foreign streams
Packages
Availability:
C-language interface function
SOCKET
Swinsock
(
IOSTREAM *s
)
Windows only. If the stream is associated to a Windows socket handle, returns this handle. Otherwise return
INVALID_SOCKET