9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Byron Rakitzis byron@netapp.com
Subject: Set User (aka su)
Date: Mon, 28 Aug 1995 00:28:20 -0400	[thread overview]
Message-ID: <19950828042820.hWj3I0Fh4YjdVsdpbPOzHS4Zj1hyACXV6nBrl5CiesU@z> (raw)

See Ken Thomson's paper on his C compiler. It is an extension used to
map enum constants to array indices. So

	char *msg_string[] = {
		[ENOENT] "No such file or directory",
	}

would yield

	msg_string[ENOENT] == "No such file or directory"






             reply	other threads:[~1995-08-28  4:28 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-28  4:28 Byron [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-08-30 16:05 Andrew
1995-08-27 14:46 Gary
1995-08-23 15:31 Berry
1995-08-23  8:36 Nigel
1995-08-22 21:50 Bill
1995-08-22 19:03 Walter
1995-08-22 15:28 carvell
1995-08-22 11:37 dhog
1995-08-22  3:27 rob
1995-08-21 23:51 rob
1995-08-21 23:42 forsyth
1995-08-21 21:14 Steve
1995-08-21 21:01 Steve
1995-08-21 12:04 Vadim
1995-08-21 11:24 Vadim
1995-08-21  6:59 Vadim
1995-08-21  4:36 Vadim
1995-08-19  7:25 rob
1995-08-18  9:34 Vadim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19950828042820.hWj3I0Fh4YjdVsdpbPOzHS4Zj1hyACXV6nBrl5CiesU@z \
    --to=9fans@9fans.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).