From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18121 invoked from network); 6 Aug 2020 07:23:59 -0000 Received: from minnie.tuhs.org (45.79.103.53) by inbox.vuxu.org with ESMTPUTF8; 6 Aug 2020 07:23:59 -0000 Received: by minnie.tuhs.org (Postfix, from userid 112) id 73AB09C1EB; Thu, 6 Aug 2020 17:23:57 +1000 (AEST) Received: from minnie.tuhs.org (localhost [127.0.0.1]) by minnie.tuhs.org (Postfix) with ESMTP id 401B39C1AF; Thu, 6 Aug 2020 17:23:23 +1000 (AEST) Authentication-Results: minnie.tuhs.org; dkim=pass (1024-bit key; secure) header.d=drijf.net header.i=@drijf.net header.b="d/HaNU1L"; dkim-atps=neutral Received: by minnie.tuhs.org (Postfix, from userid 112) id 7323F9C1AF; Thu, 6 Aug 2020 17:23:19 +1000 (AEST) X-Greylist: delayed 398 seconds by postgrey-1.36 at minnie.tuhs.org; Thu, 06 Aug 2020 17:23:17 AEST Received: from clue.drijf.net (clue.drijf.net [94.142.244.34]) by minnie.tuhs.org (Postfix) with ESMTPS id DE08A9C1AD for ; Thu, 6 Aug 2020 17:23:17 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=drijf.net; s=default; t=1596698195; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=O68Lb5Llzu9W892kyY8l9xuorH9TpFXvREzxMfHoD5k=; b=d/HaNU1LSIk4PrPuvVAiJJxXHsqwLrbf7THWsLvXhDG7ag8VJ1oI0Z//zuBALoHOKbgfeN U5LbdyrRGAmVVWwxVENWkPjo25WTFj3MOXyZ4N3HJJYxcsMIZWeJX4uufy1F1JHMV4myoy uG7gy92ocfXUu0281L9g/X/nce7n68E= Received: from clue.drijf.net (clue.drijf.net [94.142.244.34]) by mx1.drijf.net (OpenSMTPD) with ESMTPSA id 4c26c8c7 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 6 Aug 2020 09:16:35 +0200 (CEST) Date: Thu, 6 Aug 2020 09:16:34 +0200 From: Otto Moerbeek To: Dave Horsfall Message-ID: <20200806071634.GA96322@clue.drijf.net> References: <0DBD06AA-6E1D-4CD3-A953-C47A4D06B272@anteil.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [TUHS] Debugging help sought X-BeenThere: tuhs@minnie.tuhs.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: The Unix Heritage Society mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: The Eunuchs Hysterical Society Errors-To: tuhs-bounces@minnie.tuhs.org Sender: "TUHS" On Thu, Aug 06, 2020 at 02:57:25PM +1000, Dave Horsfall wrote: > On Wed, 5 Aug 2020, Warner Losh wrote: > > > On Wed, Aug 5, 2020, 8:12 PM Jim Capp wrote: > > Looking through the code, I see some awfully long function names. > > Does anyone recall if there are/were limits on the size of > > variable and function names? > > > > 8 I think was the limit. > > Seven plus the leading (implied) underscore? > > -- Dave K&R 1st edition Reference Manual section 2.2 mentions 8 (including underscore) as the number of significant characters, though names can be longer. External names are more restricted: it has a table of limits for external names for various targerts. PDP-11 is 7 chars, Honeywell 6000 is 6 chars (with no case distinction). -Otto