🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.misc
Article #36150

Ayuda con C

#36150
From: Luis Alejandro Gonzalez Miranda
Date: Thu, 08 May 1997 00:00
14 lines
1015 bytes
Quisiera saber si existe alguna funcion o directiva en C que te diga
en que sistema operativo esta compilandose y ejecutandose el programa.

Es mas que nada por que quiero hacer un programa que ocupa archivos
temporales(en el directorio dado por getenv("TEMP") en DOS, y en el "/tmp"
				  en Unix).

Saludos!
--
============================================================================
# ||  |"| |"" |"| ||  | | "|" .-" : Luis Gonzalez M. <lugonzal@ing.puc.cl> #
# ||_ |_| |__ |_| ||_ |_| _|_ .-" : Bachillerato en Ciencias, P.U.C.       #
============================================================================
Technical Details
Message-ID: <5kt04j$19g$1@huequi.puc.cl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: 107d6b,2b5c2f0e3a006821,start
X-Google-Attributes: gid107d6b,public
From: lugonzal@ing.puc.cl (Luis Alejandro Gonzalez Miranda)
Subject: Ayuda con C
Date: 1997/05/08
Message-ID: <5kt04j$19g$1@huequi.puc.cl>
X-Deja-AN: 240247855
Organization: Pontificia Universidad Catolica de Chile
Newsgroups: chile.comp.misc