Everything2
Near Matches
Ignore Exact
Full Text
Everything2

magic cookie

created by xdc

(idea) by Jargon (1.8 y) (print)   ?   (I like it!) Thu Jul 19 2001 at 11:49:35

magic = M = magic number

magic cookie n.

[Unix; common] 1. Something passed between routines or programs that enables the receiver to perform some operation; a capability ticket or opaque identifier. Especially used of small data objects that contain data encoded in a strange or intrinsically machine-dependent way. E.g., on non-Unix OSes with a non-byte-stream model of files, the result of ftell(3) may be a magic cookie rather than a byte offset; it can be passed to fseek(3), but not operated on in any meaningful way. The phrase `it hands you a magic cookie' means it returns a result whose contents are not defined but which can be passed back to the same or some other program later. 2. An in-band code for changing graphic rendition (e.g., inverse video or underlining) or performing other control functions (see also cookie). Some older terminals would leave a blank on the screen corresponding to mode-change magic cookies; this was also called a glitch (or occasionally a `turd'; compare mouse droppings). See also cookie.

--The Jargon File version 4.3.1, ed. ESR, autonoded by rescdsk.


printable version
chaos

magic number mouse droppings What do you want, a cookie? 0xCAFEBABE
cookie glitch fsck Magic mushrooms
Magic rescdsk Marshall Mathers John Adams's 1798 State of the Union Address
interweb March 4, 2007 guitar Unsaturated
Perl is for cookie blab! Cubicolor Chocolate pecan cookies with gooey caramel centers
sit handle Give me a cookie! Tentorium
Y'know, if you log in, you can write something here, or contact authors directly on the site. Create a New User if you don't already have an account.
  Epicenter
Login
Password

password reminder
register

Everything2 Help

Cool Staff Picks
What you are reading:
Babyklappe
The Joint Chiefs of Staff
Nutter Butter
éminence grise
Oak Island Water Pit
I am the very model of a modern E2 editor
Morse code
physics
heat
joy is like curing hiccups
Dead people I have known
Letters from a Savior; Offer for a few
Node your homework
New Writeups
anndandridge
Dorothy Dandridge(person)
PaulM
ignominity(idea)
Clarke
Multiculturalism(idea)
aneurin
Earl of Landaff(person)
Heitah
Pseudocide(idea)
XWiz
Google Knol(lede)
Mythi
July 24, 2008(personal)
locke baron
The fall of Earth(fiction)
BookReader
Fear the Cold(dream)
Pavlovna
Kathleen MacInnes(person)
stainedglass
1(fiction)
kalen
Three "T"s(idea)
octillion369
Undead(idea)
archiewood
Ico(fiction)
Heisenberg
Why I love Everything2(log)
This affordable entertainment brought to you by The Everything Development Company