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
int
Slock
(
IOSTREAM *s
)
int
StryLock
(
IOSTREAM *s
)
int
Sunlock
(
IOSTREAM *s
)
Low level versions that perform only the (un)locking part of
PL_acquire_stream()
and
PL_release_stream()
.