Opening book details…
Can I read Unix system programming in Objective Caml on EtoBox?
Unix system programming in Objective Caml by Xavier Leroy and Didier Rémy is a book available to read on EtoBox.
What is Unix system programming in Objective Caml about?
Introduction 5 Generalities 7 Modules Sys and Unix 7 Interface with the calling program 8 Error handling 9 Library functions 10 Files 13 The file system 13 File names and file descriptors 15 Meta-attributes, types and permissions 15 Operations on directories 19 Complete example: search in a file hierarchy 20 Opening a file 22 Reading and writing 24 Closing a descriptor 26 Complete example: file copy 26 The cost of system calls and buffers 27 Complete example: a small input/output library 29 Positioning 32 Operations specific to certain file types 33 Locks on files 36 Complete example: recursive copy of files 36 Complete example: Tape ARchive 38 Processes 45 Creation of processes 45 Complete Example: the command leave 45 Awaiting the termination of a process 46 Launching a program 48 Complete example: a mini-shell 50 Signals 53 Default behavior 53 Using signals 54 Changing the effect of a signal 55 How to mask signals 57 Signals and system calls 57 The passage of time 59 Problems with signals 61 Classical inter-process communication: pipes 63 Pipes 63 Complete example: parallel sieve of Eratosthenes 65 Named pipes 68 Descriptor redirections 68 Complete example: composing N commands
- Author
- Xavier Leroy and Didier Rémy
- Language
- EN