Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Question

Name: Anonymous 2014-11-15 23:21

If you wanted to create a file within a signal handler in POSIX, how would you do it?

Name: Anonymous 2014-11-16 2:26

>>7
close()
...
creat()
...
open()
...
read()
...
unlink()
...
write()

So you can basically do everything with files that you can do outside of a sgnal handler. Neat.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List