where does "CARD18" come from?

Jasper St. Pierre jstpierre at mecheye.net
Sun May 19 22:28:54 PDT 2013


It's short for "Cardinal", as in "Cardinal number"

http://en.wikipedia.org/wiki/Cardinal_numbers


On Mon, May 20, 2013 at 1:12 AM, <wempwer at gmail.com> wrote:

> Hello,
>
> I was wondering where the names of various data types listed here may
> come from:
> http://www.x.org/wiki/XSessionManagementProtocol#Data_Types
>
> Most of them are clear, but these ones picked my interest:
>
>  CARD8
>  a one-byte unsigned integer
>
>  CARD16
>  a two-byte unsigned integer
>
>  CARD32
>  a four-byte unsigned integer
>
> Do you know what is the etymology of these type names? Do they mean
> "character...", but what does "d" stand for? In Lisp "car" is a
> function that returns the first element of the list but I think Xorg
> has nothing to do with Lisp.
>
> History is interesting ;)
> --
> <wempwer at gmail.com>
> _______________________________________________
> xorg-devel at lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: http://lists.x.org/mailman/listinfo/xorg-devel
>



-- 
  Jasper
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130520/5b2fef3e/attachment.html>


More information about the xorg-devel mailing list