Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Signed Seeking System Operation - SSSO ? (DOSX)

posted by DOS386(R), 06.05.2009, 05:39

> This is not a bug, it's a feature.

As usual :clap:

> Seeking "below zero" actually wraps around to a high position,
> so -1 means 4 GiB less one byte. It's all about "signed" and unsigned

OK, you are probably right here, so seeking from 0.5 GiB by -1 GiB AKA +3 GiB should go up to 3.5 GiB in DOS ... and in Win32 use SetFilePointerEx ?

---
This is a LOGITECH mouse driver, but some software expect here
the following string:*** This is Copyright 1983 Microsoft ***

 

Complete thread:

Back to the forum
Board view  Mix view
15108 Postings in 1358 Threads, 246 registered users, 12 users online (0 registered, 12 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum