Wiki Page Content

Results 1 - 11 of 11 results out of about 6839 pages. (2.92 seconds)

SDL_RWread . . . 3 matches
...!= NULL) { extern Uint8 buf[256]; SDL_RWread(rw, buf, sizeof (buf), 1); SDL_RWclose(rw); } }}} Read a complete file in memory (assuming size can be detected) (from [[...

2.8k - rev: 15 (current) last modified: 2015-09-17 21:55:16

SDL_RWops . . . 3 matches
...(io, name, sizeof (name), 1) > 0) { printf("Hello, %s!\n", name); } SDL_RWclose(io); } }}} == Remarks == SDL_RWops is an abstraction over I/O. It provides interf...

6.1k - rev: 11 (current) last modified: 2015-04-26 19:23:07

SDL_RWwrite . . . 2 matches
...string\n"); } else { printf("Wrote %d 1-byte blocks\n", len); } SDL_RWclose(rw); } }}} == Remarks == This function writes exactly '''num''' objects each of si...

1.7k - rev: 10 (current) last modified: 2015-06-20 20:03:24

SDL_RWseek . . . 2 matches
...from the end of the file */ Sint64 length = SDL_RWseek(rw, 0, RW_SEEK_END); SDL_RWclose(rw); if (length < 0) { printf("Could not seek inside myfile.bin\n"); ...

1.7k - rev: 24 (current) last modified: 2015-06-20 20:01:11

SDL_RWFromFP . . . 2 matches
...dat", "rb"); SDL_RWops *rw = SDL_RWFromFP(fp, SDL_TRUE); /* Do things with rw... */ SDL_RWclose(rw); /* Automatically does an fclose(fp) in this case */ }}} == Remarks == This fu...

1.5k - rev: 18 (current) last modified: 2015-06-20 19:58:46

SDL_RWtell . . . 1 match
...from RW_SEEK_CUR, to simplify application development. == Related Functions == .[[SDL_RWclose]] .[[SDL_RWFromConstMem]] .[[SDL_RWFromFile]] .[[SDL_RWFromFP]] .[[SDL_RWFromMe...

1.1k - rev: 15 (current) last modified: 2015-06-20 19:57:52

SDL_RWFromMem . . . 1 match
...onstMem]]() with a read-only buffer of memory instead. == Related Functions == .[[SDL_RWclose]] .[[SDL_RWFromConstMem]] .[[SDL_RWFromFile]] .[[SDL_RWFromFP]] .[[SDL_RWFromMe...

1.4k - rev: 15 (current) last modified: 2015-06-20 20:00:06

SDL_RWFromFile . . . 1 match
... will close the file handle SDL is holding internally. == Related Functions == .[[SDL_RWclose]] .[[SDL_RWFromConstMem]] .[[SDL_RWFromFP]] .[[SDL_RWFromMem]] .[[SDL_RWread]] ...

3.0k - rev: 15 (current) last modified: 2016-05-12 20:32:05

SDL_RWFromConstMem . . . 1 match
...WFromMem]]() with a writable buffer of memory instead. == Related Functions == .[[SDL_RWclose]] .[[SDL_RWFromConstMem]] .[[SDL_RWFromFile]] .[[SDL_RWFromFP]] .[[SDL_RWFromMe...

1.6k - rev: 11 (current) last modified: 2015-04-26 19:16:57

CategoryIO . . . 1 match
...##master-page:CategoryTemplate ##master-date:Unknown-Date #format wiki #language en = File I/O Abstraction = '''Include File(s):''' [[http://hg.libsdl.org/SDL/file/default/inclu...

0.8k - rev: 14 (current) last modified: 2013-10-12 19:35:50

CategoryAPI . . . 1 match
...##master-page:CategoryTemplate ##master-date:Unknown-Date #format wiki #language en = SDL 2.0 API by Name = <<TableOfContents()>> == Hints == <<FullSearchCached(category:Catego...

0.5k - rev: 19 (current) last modified: 2013-08-10 05:04:50

(Page Info.)
Feedback
Please include your contact information if you'd like to receive a reply.
Submit