text/x-csrc
Codice sorgente C
| Descrizione | Codice sorgente C |
|---|---|
| Estensioni | .c |
| Alias | text/x-c |
| Basato su | text/plain |
| Firma (magic bytes) | 23 69 6E 63 6C 75 64 65 (#include)2F 2A (/*)2F 2F (//) |
Domande frequenti
Che cos’è il tipo MIME text/x-csrc?
text/x-csrc indica «Codice sorgente C».
Quale estensione usa text/x-csrc?
I file di tipo text/x-csrc terminano di solito con .c.
Come fa un server web a servire correttamente text/x-csrc?
Con l’intestazione Content-Type: text/x-csrc. In nginx: types { text/x-csrc c; }; in Apache: AddType text/x-csrc .c.
Esistono altri nomi per text/x-csrc?
Sì, come equivalenti si usano text/x-c.
Quali formati si basano su text/x-csrc?
Tra i formati basati su di esso ci sono Codice sorgente C++, Header C, Codice sorgente C# e Codice sorgente D.
Formati basati su di esso
- text/x-c++src – Codice sorgente C++
- text/x-chdr – Header C
- text/x-csharp – Codice sorgente C#
- text/x-dsrc – Codice sorgente D
- text/x-groovy – Codice sorgente Groovy
- text/x-java – Codice sorgente Java
- text/x-mof – File MOF
- text/x-objcsrc – Codice sorgente Objective-C
- text/x-ooc – Codice sorgente OOC
- text/x-opencl-src – Codice sorgente OpenCL
- text/x-vala – Codice sorgente Vala