9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Andrew C Bulhak acb@cs.monash.edu.au
Subject: Set User (aka su)
Date: Wed, 30 Aug 1995 12:05:27 -0400	[thread overview]
Message-ID: <19950830160527.TP9f4Xb-DX5nkW902GaxYfyFMYy-1BOC_HUxSkuOOZs@z> (raw)

[Byron Rakitzis]
> 
> 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"

I think I missed the original message. I know that GNU C has this extension;
which other compilers support it? Does Plan 9's PCC?

-- 
/d/def/s/scale/u/dup/f/forall{load def}{loop}stopped pop/r{u 1 lt{-1 0 moveto 1
1 lineto stroke}{[[(ha_a0\211)(db\\h\(~)(eVhdOj)(jd_dbd)(dh\\bT\200)(f_ab^\211)
(c]ffe\201)(`@h`x\200)(cZhd#h)(hb^d0v)(`Lh`8t)(eVhd\223~)(gj^a\230j)(h_ab\210a)
(gd^c\211\205)]{[exch{96 sub}f]}f]{gsave 1 64 div u s concat u 1 sub r grestore
}f}ifelse pop}d 240 u s 1.25 1 translate 4 r showpage% - acb@cs.monash.edu.au -
 







             reply	other threads:[~1995-08-30 16:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1995-08-30 16:05 Andrew [this message]
  -- strict thread matches above, loose matches on Subject: below --
1995-08-28  4:28 Byron
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=19950830160527.TP9f4Xb-DX5nkW902GaxYfyFMYy-1BOC_HUxSkuOOZs@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).