Project

General

Profile

Actions

Bug #2259

closed

off_t type definition

Added by robin.carey1 over 12 years ago. Updated over 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Dear DragonFlyBSD bugs,

Whilst checking some software I wrote (on leaf.dragonflybsd.org), I
discovered that the

off_t

type is a signed value (on leaf.dragonflybsd.org).

On OpenBSD and FreeBSD, off_t is an unsigned value (which I assume is what
it is supposed to be).

--
Sincerely,

Robin Carey BSc

Actions #1

Updated by swildner over 12 years ago

"blkcnt_t and off_t shall be signed integer types."

says POSIX

Actions #3

Updated by alexh over 12 years ago

off_t is a signed type on every OS I know - and it most definitely is
signed on FreeBSD as well.

On 12/12/11 16:22, Robin Carey via Redmine wrote:

Issue #2259 has been reported by Robin Carey.

----------------------------------------
Bug #2259: off_t type definition
http://bugs.dragonflybsd.org/issues/2259

Author: Robin Carey
Status: New
Priority: Normal
Assignee:
Category:
Target version:

Dear DragonFlyBSD bugs,

Whilst checking some software I wrote (on leaf.dragonflybsd.org), I
discovered that the

off_t

type is a signed value (on leaf.dragonflybsd.org).

On OpenBSD and FreeBSD, off_t is an unsigned value (which I assume is what
it is supposed to be).

Actions #4

Updated by swildner over 12 years ago

  • Status changed from New to Closed

Yes it is int64_t on Free and long long on open, both signed.

Actions

Also available in: Atom PDF