c't

c't-Projekte - Mailinglisten


[Voriger (Datum)] [Nächster (Datum)] [Voriger (Thread)] [Nächster (Thread)]
[Nach Datum][Nach Thread]

Re: [ct-bot] Neues im SVN

Absender: Timo Sandmann
Datum: Mo, 25.06.2007 15:16:20
In-reply-to: <200706251513.05160.tevers@xxxxxxxxxxxxx>
References: <FABAFDE1-47A8-4A26-A2F7-DCC0435C4428@xxxxxxxxxxxxxxx> <467FBCBC.8050401@xxxxxxxx> <73490CC3-206C-44F5-AA76-361415F493BE@xxxxxxxxxxxxxxx> <200706251513.05160.tevers@xxxxxxxxxxxxx>


Hi,
Am 25.06.2007 um 15:13 schrieb Torsten Evers:

Hi,

Am Montag, 25. Juni 2007 15:08:16 schrieb Timo Sandmann:
gibt es auch so was wie basename?

Beim gcc IMHO nicht, darum ja...
na ja....der gcc ist da ja nur ausführendes Organ. Basename/Dirname sind Funktionen, die in libgen.h enthalten sind. Ich kann allerdings hier von der Arbeit aus schlecht schauen, ob die in den avrlibs enthalten sind (was ich
aber eigentlich schon denke).

3.7.1 Standard Predefined Macros

The standard predefined macros are specified by the C and/or C++ language standards, so they are available with all compilers that implement those standards. Older compilers may not provide all of them. Their names all start with double underscores.

__FILE__
This macro expands to the name of the current input file, in the form of a C string constant. This is the path by which the preprocessor opened the file, not the short name specified in #include or as the input file name argument. For example, "/usr/local/ include/myheader.h" is a possible expansion of this macro.


oder reden wir aneinander vorbei?

Gruß Timo