Path: utzoo!attcan!uunet!sco!md From: md (Michael Davidson) Newsgroups: comp.unix.internals Subject: Re: The definition/size of click anyone? Message-ID: <7854@scolex.sco.COM> Date: 18 Sep 90 23:22:43 GMT References: <1990Sep17.212128.14687@ericsson.se> Sender: news@sco.COM Lines: 21 rom@mvsun.ericsson.se (Robert Malmgren TK/DG) writes: >I use a Sun 3/80 running SunOS 4.1 and need to know the size/definition >of a "click" for a program I'm working on. >In the process structure the definition of p_tsize et. al is specified in >clicks, and I cannot find any definition of a click: >size_t p_tsize; /* size of text (clicks) */ The size of a "click" is machine dependent - depends on the MMU. On a PDP-11 it was 64 bytes, on an 80386 it is 4k .... There should be conversion macros for "bytes-to-clicks" - btoc() and "clicks-to-bytes" ctob() around somewhere - try sys/sysmacros.h ... (btw does anyone know *why* the term "click" was used? Did this terminology come from Multics originally? I know that it does *not* appear to be DEC PDP-11 terminology ..... Please only reply if you actually *know* the answer to this!)