Read without ads and support Scribd by becoming a Scribd Premium Reader.
 
G
a
i
L
Guida alla Programmazione in Linux
Simone Piccardi4 novembre 2008
 
iiCopyrightc
2000-2008 Simone Piccardi. Permission is granted to copy, distributeand/or modify this document under the terms of the GNU Free DocumentationLicense, Version 1.1 or any later version published by the Free Software Foundation;with the Invariant Sections being “Un preambolo” in “Prefazione”, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in thesection entitled “GNU Free Documentation License”.
 
Indice
1.1 Una panoramica. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.1.1 Concetti base. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31.1.2 Il kernel e il sistema. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41.1.3 Chiamate al sistema e librerie di funzioni. . . . . . . . . . . . . . . . . . 51.1.4 Un sistema multiutente. . . . . . . . . . . . . . . . . . . . . . . . . . . . 61.2 Gli standard. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71.2.1 Lo standard ANSI C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71.2.2 I tipi di dati primitivi. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 71.2.3 Lo standard System V. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91.2.4 Lo
” BSD. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91.2.5 Gli standard IEEE – POSIX. . . . . . . . . . . . . . . . . . . . . . . . . 101.2.6 Gli standard X/Open – Opengroup – Unix. . . . . . . . . . . . . . . . . 111.2.7 Il controllo di aderenza agli standard. . . . . . . . . . . . . . . . . . . . . 12
2.1 Esecuzione e conclusione di un programma. . . . . . . . . . . . . . . . . . . . . 172.1.1 La funzione
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 172.1.2 Come chiudere un programma. . . . . . . . . . . . . . . . . . . . . . . . 182.1.3 Le funzioni
e
. . . . . . . . . . . . . . . . . . . . . . . . . . . 182.1.4 Le funzioni
e
. . . . . . . . . . . . . . . . . . . . . . . . . 192.1.5 Conclusioni. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202.2 I processi e l’uso della memoria. . . . . . . . . . . . . . . . . . . . . . . . . . . . 202.2.1 I concetti generali. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 202.2.2 La struttura della memoria di un processo. . . . . . . . . . . . . . . . . . 212.2.3 Allocazione della memoria per i programmi C. . . . . . . . . . . . . . . . 232.2.4 Il controllo della memoria virtuale. . . . . . . . . . . . . . . . . . . . . . 272.3 Argomenti, opzioni ed ambiente di un processo. . . . . . . . . . . . . . . . . . . 292.3.1 Il formato degli argomenti. . . . . . . . . . . . . . . . . . . . . . . . . . . 302.3.2 La gestione delle opzioni. . . . . . . . . . . . . . . . . . . . . . . . . . . . 302.3.3 Le variabili di ambiente. . . . . . . . . . . . . . . . . . . . . . . . . . . . 322.3.4 Opzioni in formato esteso. . . . . . . . . . . . . . . . . . . . . . . . . . . 342.4 Problematiche di programmazione generica. . . . . . . . . . . . . . . . . . . . . 35iii
Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • Notes
    Load more