Mercurial > pidgin
comparison src/util.h @ 7622:072feee65244
[gaim-migrate @ 8246]
this doesn't seem to break directory creation on *NIX, and I think it might
fix it for win32, so here goes nothin'
committer: Tailor Script <tailor@pidgin.im>
| author | Nathan Walp <nwalp@pidgin.im> |
|---|---|
| date | Mon, 24 Nov 2003 06:50:20 +0000 |
| parents | 3ae88e96dde2 |
| children | e293d0c42ccb |
comparison
equal
deleted
inserted
replaced
| 7621:bfe3a796b2c2 | 7622:072feee65244 |
|---|---|
| 252 char *gaim_user_dir(void); | 252 char *gaim_user_dir(void); |
| 253 | 253 |
| 254 /** | 254 /** |
| 255 * Builds a complete path from the root, making any directories along | 255 * Builds a complete path from the root, making any directories along |
| 256 * the path which do not already exist. | 256 * the path which do not already exist. |
| 257 * | 257 * |
| 258 * @param path The path you wish to create. Note that it must start | 258 * @param path The path you wish to create. Note that it must start |
| 259 * from the root or this function will fail. | 259 * from the root or this function will fail. |
| 260 * | |
| 261 * @param mode Unix-style permissions for this directory. | 260 * @param mode Unix-style permissions for this directory. |
| 262 * | 261 * |
| 263 * @return 0 for success, nonzero on any error. | 262 * @return 0 for success, nonzero on any error. |
| 264 */ | 263 */ |
| 265 int gaim_build_dir(char *path, int mode); | 264 int gaim_build_dir(const char *path, int mode); |
| 266 | 265 |
| 267 /** | 266 /** |
| 268 * Creates a temporary file and returns a file pointer to it. | 267 * Creates a temporary file and returns a file pointer to it. |
| 269 * | 268 * |
| 270 * This is like mkstemp(), but returns a file pointer and uses a | 269 * This is like mkstemp(), but returns a file pointer and uses a |
