🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.os.linux.programacion
Article #500

Re: Nombre de una funcion

#500
From: Iván Sánchez Ortega
Date: Sat, 22 Dec 2007 01:02
19 lines
1488 bytes
Pere Pujal i Carabantes wrote:

> Cuando se llama a un script bash, $0 nos da el nombre del script.
> 
> Existe algo similar para una funcion en C que nos de el nombre
> de la funcion?

Te acabas de ganar un STFW & RTFM:

http://www.delorie.com/gnu/docs/gcc/gcc_78.html

;-)

-- 
----------------------------------
Iv�n S�nchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

MSN:i_eat_s_p_a_m_for_breakfast@hotmail.com
Jabber:ivansanchez@jabber.org ; ivansanchez@kdetalk.net
Technical Details
Message-ID: <fkhnn2$dls$1@hercules.cohp1>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.antakira.com!cagarruta.escomposlinux.org!hercules.escomposlinux.org!escomposlinux.org!not-for-mail
References: <slrnfmodjn.v4d.pere@hola.fou.net>

Show Full Headers
Complete Article Headers
X-Google-Thread: f86c8,bb0a650afb4eecda
X-Google-Attributes: gidf86c8,public,usenet
X-Google-Language: SPANISH,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!news.antakira.com!cagarruta.escomposlinux.org!hercules.escomposlinux.org!escomposlinux.org!not-for-mail
From: Iván Sánchez Ortega <ivansanchez-alg@rroba-escomposlinux.-.punto.-.org>
Newsgroups: es.comp.os.linux.programacion
Subject: Re: Nombre de una funcion
Date: Sat, 22 Dec 2007 02:02:26 +0100
Organization: ecolnet
Lines: 19
Message-ID: <fkhnn2$dls$1@hercules.cohp1>
References: <slrnfmodjn.v4d.pere@hola.fou.net>
NNTP-Posting-Host: 89.128.29.86
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15
Content-Transfer-Encoding: 8Bit
X-Trace: hercules.cohp1 1198285346 14012 89.128.29.86 (22 Dec 2007 01:02:26 GMT)
X-Complaints-To: newsmaster@news-17.escomposlinux.org
NNTP-Posting-Date: Sat, 22 Dec 2007 01:02:26 +0000 (UTC)
User-Agent: KNode/0.10.5