#include "config.h"#include "vi.h"#include <sys/stat.h>Include dependency graph for tmp.c:

Go to the source code of this file.
Defines | |
| #define | FAIL(why, arg) mode = MODE_EX; msg(why, arg); endwin(); exit(9) |
Functions | |
| static void | do_modelines (long l, long stop) |
| int | tmpstart (char *filename) |
| int | tmpsave (char *filename, int bang) |
| int | tmpabort (int bang) |
| int | tmpend (int bang) |
| storename (char *name) | |
| int | deathtrap (int sig) |
Variables | |
| static char | tmpname [80] |
|
|
|
|
|
Definition at line 697 of file tmp.c. References BLK::c, close, cutend(), endwin(), exit(), PRESERVE, SIGBUS, SIGHUP, SIGILL, SIGPIPE, SIGSEGV, SIGSYS, SIGTERM, SIGUSR1, SIGUSR2, sprintf(), system(), tmpblk, tmpfd, tmpname, and tmpnum. Referenced by main(). |
|
||||||||||||
|
Definition at line 34 of file tmp.c. References exstring(), fetchline(), o_modelines, start, strlen(), and strncpy(). |
|
|
Definition at line 643 of file tmp.c. References BLKSIZE, getcwd, L, lseek, ptr, SLASH, strcpy(), strlen(), strncpy(), tmpfd, U_line, U_text, and write. Referenced by cmd_file(), and cutswitch(). |
|
|
Definition at line 569 of file tmp.c. References blkinit(), cursor, cutswitch(), FALSE, initflags, L, markline, MODIFIED, nlines, o_autowrite, origname, origtime, prevline, prevorig, strcpy(), tmpend(), tmpfd, TRUE, and tstflag. Referenced by cmd_edit(), cmd_next(), cmd_tag(), cmd_xit(), fillkeybuf(), and tmpend(). |
|
|
Definition at line 605 of file tmp.c. References FALSE, MODIFIED, tmpabort(), tmpsave(), TRUE, and tstflag. Referenced by cmd_xit(), and tmpabort(). |
|
||||||||||||
|
Definition at line 447 of file tmp.c. References access, blkget(), BLKSIZE, bytes, c, close, clrflag, creat, FALSE, FILEPERMS, i, L, lseek, MAXBLKS, MODIFIED, msg, nlines, O_APPEND, o_readonly, o_writeany, O_WRONLY, open, origname, ptr, READONLY, REG, setflag, significant, strcmp, strrchr(), TRUE, tstflag, and twrite. Referenced by cmd_write(), and tmpend(). |
|
|
Definition at line 89 of file tmp.c. References access, BLKSIZE, BLK::c, changes, close, creat, ENOENT, errno, FAIL, FALSE, FILEPERMS, garbage(), geteuid, getpid, getuid, hdr, i, inbuf, INFINITY, j, k, L, lnum, MARK_UNSET, MAXBLKS, msg, nbytes, next, NOFILE, O_BINARY, o_directory, O_RDONLY, O_RDWR, o_readonly, open, origname, origtime, READONLY, redraw(), REG, S_IFDIR, S_IFMT, S_IFREG, S_IWRITE, setflag, SLASH, sprintf(), stat::st_gid, stat::st_mode, stat::st_mtime, stat::st_uid, stat, strchr, strcpy(), strlen(), tmpblk, tmpfd, TMPNAME, tmpname, tmpnum, and write. Referenced by cmd_edit(), cmd_next(), and cmd_tag(). |
|
|
Definition at line 84 of file tmp.c. Referenced by apply(), deathtrap(), main(), process(), tmpstart(), and tty_rename(). |
1.4.6