04-18-2016
Thanks. I've got the copy but it's more on programming philosophy.
I have to soil my hands by opening, reading, writing and closing
files with sys calls and using std. lib with the same functionality.
There are plenty of other jobs to do.
10 More Discussions You Might Find Interesting
1. New to Unix. Which books should I read?
I'm just looking for really good unix book on programming in all shells, and system adminstrator books, and well as just all around really good books on unix.
I know the "Unix Shell Programming" book that Neo recommends I recently purchased that it is very good.
But when I heard that Neo has... (13 Replies)
Discussion started by: Astudent
13 Replies
2. UNIX for Dummies Questions & Answers
I'm just looking for really good unix book on programming in all shells, and system adminstrator books, and well as just all around really good books on unix.
I know the "Unix Shell Programming" book that Neo recommends I recently purchased that it is very good.
But when I heard that Neo has... (13 Replies)
Discussion started by: Astudent
13 Replies
3. UNIX for Dummies Questions & Answers
where can i find unix admnistration books to be downloaded i an using SCO openserver 5.0.4
also where can i download freely unix programmimg tutorials (1 Reply)
Discussion started by: dsrawat
1 Replies
4. Shell Programming and Scripting
Hai All
Iam looking for books in unix on shell scripting which has more stuff on how to run Oracle procedures or functions and the best methods to follow passing unix variables as parameters to Oracle.
Thanks in advance
Krishna (2 Replies)
Discussion started by: krishnasai
2 Replies
5. UNIX for Dummies Questions & Answers
hi forum,
i would like to learn Unix by myself and want to have some good knowlege ..is that possible ?which book can i follow?can anyone send me some book links ...
Thanks in advance. (2 Replies)
Discussion started by: Vyra
2 Replies
6. UNIX for Dummies Questions & Answers
Am new to this unix concept..i want to learn unix ..could anyone give link or free e-book to study and understand Unix fundamentals.. (6 Replies)
Discussion started by: Vyra
6 Replies
7. UNIX for Dummies Questions & Answers
Hello,
I am trying to learn Networking Programming in C in unix enviorment. I want to know how good it is to become a network programmer. i am crazy about Network programming but i also want to opt for the best carreer options. Anybody experienced Network Programmer, please tell me is my... (5 Replies)
Discussion started by: vibhory2j
5 Replies
8. Shell Programming and Scripting
hello....
iam need more books about programming shell by c & c++ ...
please iam need it now
thank you:) (2 Replies)
Discussion started by: osamasam
2 Replies
9. Programming
I have a file called dvwl.c, and I am running it on a putty (unix server) using:
gcc -Wall -g -o mycode dvwl.c
./mycode 1 /usr/share/dict/words s
What it does is, it opens up words (since i gave that path) and reads the lines skipping the first line (since it says 1, if i put here 3, then it... (1 Reply)
Discussion started by: omega666
1 Replies
10. UNIX for Dummies Questions & Answers
How does unix system administration, unix programming, unix network programming differ?
Please help. (0 Replies)
Discussion started by: thulasidharan2k
0 Replies
LEARN ABOUT DEBIAN
packfile_password
packfile_password(3alleg4) Allegro manual packfile_password(3alleg4)
NAME
packfile_password - Sets the global I/O encryption password. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void packfile_password(const char *password);
DESCRIPTION
Sets the encryption password to be used for all read/write operations on files opened in future using Allegro's packfile functions (whether
they are compressed or not), including all the save, load and config routines. Files written with an encryption password cannot be read
unless the same password is selected, so be careful: if you forget the key, nobody can make your data come back again! Pass NULL or an
empty string to return to the normal, non-encrypted mode. If you are using this function to prevent people getting access to your
datafiles, be careful not to store an obvious copy of the password in your executable: if there are any strings like "I'm the password for
the datafile", it would be fairly easy to get access to your data :-)
Note #1: when writing a packfile, you can change the password to whatever you want after opening the file, without affecting the write
operation. On the contrary, when writing a sub-chunk of a packfile, you must make sure that the password that was active at the time the
sub-chunk was opened is still active before closing the sub-chunk. This is guaranteed to be true if you didn't call the packfile_password()
routine in the meantime. Read operations, either on packfiles or sub-chunks, have no such restriction.
Note #2: as explained above, the password is used for all read/write operations on files, including for several functions of the library
that operate on files without explicitly using packfiles (e.g. load_bitmap()). The unencrypted mode is mandatory in order for those func-
tions to work. Therefore remember to call packfile_password(NULL) before using them if you previously changed the password. As a rule of
thumb, always call packfile_password(NULL) when you are done with operations on packfiles. The only exception to this is custom packfiles
created with pack_fopen_vtable().
SEE ALSO
pack_fopen(3alleg4), load_datafile(3alleg4), pack_fopen_vtable(3alleg4)
Allegro version 4.4.2 packfile_password(3alleg4)