delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/02/01/04:31:27

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Message-Id: <199902010929.KAA17967@juno.erisoft.se>
Subject: Re: llseek() name?
To: djgpp-workers AT delorie DOT com (DJGPP-WORKERS)
Date: Mon, 1 Feb 1999 10:29:55 +0100 (MET)
X-Mailer: ELM [version 2.4 PL24]
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

On Solaris (SunOS 5.4) the situation is as follows:

Prototype for lseek():
off_t lseek(int fildes, off_t offset, int whence);

Prototype for llseek():
offset_t llseek(int fildes, offset_t offset, int whence);

off_t is a long.

offset_t is a long long.

There is no _llseek() (in the man pages).


Perhaps we should call our _llseek() llseek()? Perhaps llseek() has 
become or is about to become standardized?


Right,

							MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019