Mercurial > vim
annotate src/proto/fileio.pro @ 6559:22f164bd7e8e v7.4.606
updated for version 7.4.606
Problem: May crash when using a small window.
Solution: Avoid dividing by zero. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Tue, 27 Jan 2015 20:59:31 +0100 |
parents | 27a36d1013a6 |
children | 7347229a646a |
rev | line source |
---|---|
7 | 1 /* fileio.c */ |
1123 | 2 void filemess __ARGS((buf_T *buf, char_u *name, char_u *s, int attr)); |
3 int readfile __ARGS((char_u *fname, char_u *sfname, linenr_T from, linenr_T lines_to_skip, linenr_T lines_to_read, exarg_T *eap, int flags)); | |
4 int prep_exarg __ARGS((exarg_T *eap, buf_T *buf)); | |
5231
74d2f3188cd0
updated for version 7.4a.041
Bram Moolenaar <bram@vim.org>
parents:
5008
diff
changeset
|
5 void set_file_options __ARGS((int set_options, exarg_T *eap)); |
74d2f3188cd0
updated for version 7.4a.041
Bram Moolenaar <bram@vim.org>
parents:
5008
diff
changeset
|
6 void set_forced_fenc __ARGS((exarg_T *eap)); |
1303 | 7 int check_file_readonly __ARGS((char_u *fname, int perm)); |
1123 | 8 int buf_write __ARGS((buf_T *buf, char_u *fname, char_u *sfname, linenr_T start, linenr_T end, exarg_T *eap, int append, int forceit, int reset_changed, int filtering)); |
9 void msg_add_fname __ARGS((buf_T *buf, char_u *fname)); | |
2241
60da25e3aab7
Correct use of long instead of off_t for file size. (James Vega)
Bram Moolenaar <bram@vim.org>
parents:
2239
diff
changeset
|
10 void msg_add_lines __ARGS((int insert_space, long lnum, off_t nchars)); |
1411 | 11 char_u *shorten_fname1 __ARGS((char_u *full_path)); |
1123 | 12 char_u *shorten_fname __ARGS((char_u *full_path, char_u *dir_name)); |
13 void shorten_fnames __ARGS((int force)); | |
14 void shorten_filenames __ARGS((char_u **fnames, int count)); | |
15 char_u *modname __ARGS((char_u *fname, char_u *ext, int prepend_dot)); | |
16 char_u *buf_modname __ARGS((int shortname, char_u *fname, char_u *ext, int prepend_dot)); | |
17 int vim_fgets __ARGS((char_u *buf, int size, FILE *fp)); | |
18 int tag_fgets __ARGS((char_u *buf, int size, FILE *fp)); | |
19 int vim_rename __ARGS((char_u *from, char_u *to)); | |
20 int check_timestamps __ARGS((int focus)); | |
21 int buf_check_timestamp __ARGS((buf_T *buf, int focus)); | |
22 void buf_reload __ARGS((buf_T *buf, int orig_mode)); | |
23 void buf_store_time __ARGS((buf_T *buf, struct stat *st, char_u *fname)); | |
24 void write_lnum_adjust __ARGS((linenr_T offset)); | |
25 void vim_deltempdir __ARGS((void)); | |
26 char_u *vim_tempname __ARGS((int extra_char)); | |
27 void forward_slash __ARGS((char_u *fname)); | |
28 void aubuflocal_remove __ARGS((buf_T *buf)); | |
29 int au_has_group __ARGS((char_u *name)); | |
30 void do_augroup __ARGS((char_u *arg, int del_group)); | |
31 void free_all_autocmds __ARGS((void)); | |
32 int check_ei __ARGS((void)); | |
33 char_u *au_event_disable __ARGS((char *what)); | |
34 void au_event_restore __ARGS((char_u *old_ei)); | |
35 void do_autocmd __ARGS((char_u *arg, int forceit)); | |
36 int do_doautocmd __ARGS((char_u *arg, int do_msg)); | |
37 void ex_doautoall __ARGS((exarg_T *eap)); | |
3350 | 38 int check_nomodeline __ARGS((char_u **argp)); |
1123 | 39 void aucmd_prepbuf __ARGS((aco_save_T *aco, buf_T *buf)); |
40 void aucmd_restbuf __ARGS((aco_save_T *aco)); | |
41 int apply_autocmds __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf)); | |
42 int apply_autocmds_retval __ARGS((event_T event, char_u *fname, char_u *fname_io, int force, buf_T *buf, int *retval)); | |
43 int has_cursorhold __ARGS((void)); | |
44 int trigger_cursorhold __ARGS((void)); | |
45 int has_cursormoved __ARGS((void)); | |
46 int has_cursormovedI __ARGS((void)); | |
4232 | 47 int has_textchanged __ARGS((void)); |
48 int has_textchangedI __ARGS((void)); | |
3390 | 49 int has_insertcharpre __ARGS((void)); |
6154 | 50 int has_cmdundefined __ARGS((void)); |
51 int has_funcundefined __ARGS((void)); | |
1410 | 52 void block_autocmds __ARGS((void)); |
53 void unblock_autocmds __ARGS((void)); | |
5008
3717d569027d
updated for version 7.3.1248
Bram Moolenaar <bram@vim.org>
parents:
4232
diff
changeset
|
54 int is_autocmd_blocked __ARGS((void)); |
3997 | 55 char_u *getnextac __ARGS((int c, void *cookie, int indent)); |
1123 | 56 int has_autocmd __ARGS((event_T event, char_u *sfname, buf_T *buf)); |
57 char_u *get_augroup_name __ARGS((expand_T *xp, int idx)); | |
58 char_u *set_context_in_autocmd __ARGS((expand_T *xp, char_u *arg, int doautocmd)); | |
59 char_u *get_event_name __ARGS((expand_T *xp, int idx)); | |
60 int autocmd_supported __ARGS((char_u *name)); | |
61 int au_exists __ARGS((char_u *arg)); | |
62 int match_file_list __ARGS((char_u *list, char_u *sfname, char_u *ffname)); | |
63 char_u *file_pat_to_reg_pat __ARGS((char_u *pat, char_u *pat_end, char *allow_dirs, int no_bslash)); | |
2664 | 64 long read_eintr __ARGS((int fd, void *buf, size_t bufsize)); |
65 long write_eintr __ARGS((int fd, void *buf, size_t bufsize)); | |
7 | 66 /* vim: set ft=c : */ |