file_size   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/contrib/word_count.xtm

Implementation

(bind-func file_size
  (lambda (fp)
    (fseek fp 0 SEEK_END)
    (let ((size (ftell fp)))
      (fseek fp 0 SEEK_SET) ;; set fp back to beginning
      size)))


Back to Index

Similar Entries

  • PARAM_REVERB_SIZE    scheme
  • PARAM_REVERB_SIZE    scheme
  • PARAM_REVERB_SIZE    scheme
  • QRcode_size    xtlang
  • VBO_size    xtlang
  • analogue_remove_file    xtlang
  • audiofile_16bitPCM_to_sample_be    xtlang
  • audiofile_16bitPCM_to_sample_le    xtlang
  • audiofile_24bitPCM_to_sample_be    xtlang
  • audiofile_24bitPCM_to_sample_le    xtlang
  • audiofile_aiff_read_samples    xtlang
  • audiofile_copy_samples    xtlang
  • audiofile_float_to_sample_be    xtlang
  • audiofile_float_to_sample_le    xtlang
  • audiofile_read_samples    xtlang
  • audiofile_wave_read_samples    xtlang
  • biSize    xtlang
  • biSizeImage    xtlang
  • bindfunc_with_zone_size    xtlang
  • bindfunc_with_zone_size_and_docstring    xtlang
  • call-with-input-file    scheme
  • call-with-output-file    scheme
  • cerberus_remove_file    xtlang
  • file->string    scheme
  • file-exists?    scheme
  • file_word_count    xtlang
  • filename-from-path    scheme
  • filename-strip-extension    scheme
  • fill_buffer_with_file    xtlang
  • fits-file-print    xtlang
  • fits-file-print    xtlang
  • fits-open-file    xtlang
  • fits-open-file    xtlang
  • get-scale-stepsize    scheme
  • get-var-em-size    scheme
  • get_file_name    xtlang
  • glfw_set_compatibility_profile    xtlang
  • glfw_set_core_profile    xtlang
  • godot_array_size    xtlang
  • gui_window_size_callback    xtlang
  • h3d_object_size    xtlang
  • iffchunk_size    xtlang
  • impc:aot:compile-xtm-file    scheme
  • impc:compiler:print-needs-zone-size-error    scheme
  • impc:ir:check-type-size-calculations    scheme
  • impc:ir:compiler:heap-alloc-with-size    scheme
  • impc:ir:compiler:heap-alloc-without-size    scheme
  • impc:ir:compiler:obj-size    scheme
  • impc:ir:compiler:stack-alloc-with-size    scheme
  • impc:ir:compiler:stack-alloc-without-size    scheme
  • impc:ir:compiler:zone-alloc-with-size    scheme
  • impc:ir:compiler:zone-alloc-without-size    scheme
  • impc:ir:get-tuple-type-size    scheme
  • impc:ir:get-type-size    scheme
  • impc:ir:objectsize-intrinsic    scheme
  • impc:ti:get-closure-zone-size    scheme
  • impc:ti:obj-size-check    scheme
  • impc:ti:set-closure-zone-size    scheme
  • ocv_resize    xtlang
  • ocv_resize    xtlang
  • ocv_resize    scheme
  • ocv_resize1    xtlang
  • ocv_resize2    xtlang
  • ocv_size    xtlang
  • psystem_size    xtlang
  • psystem_sizes    xtlang
  • resize    xtlang
  • resize    xtlang
  • sampler-parse-filename    scheme
  • sampler-parse-midinote-filename    scheme
  • sampler-parse-spn-filename    scheme
  • sf_channels_from_file    xtlang
  • sf_frames_from_file    xtlang
  • sf_print_audio_file_info    xtlang
  • sf_read_file_into_buffer    xtlang
  • sf_samples_from_file    xtlang
  • size    xtlang
  • size    xtlang
  • string_list_from_file    xtlang
  • sys:file-path-components    scheme
  • sys_file_append    xtlang
  • sys_file_close    xtlang
  • sys_file_copy    xtlang
  • sys_file_datasync    xtlang
  • sys_file_datasync    xtlang
  • sys_file_eof    xtlang
  • sys_file_flush    xtlang
  • sys_file_getc    xtlang
  • sys_file_gets    xtlang
  • sys_file_link    xtlang
  • sys_file_mktemp    xtlang
  • sys_file_open    xtlang
  • sys_file_open_stderr    xtlang
  • sys_file_open_stdin    xtlang
  • sys_file_open_stdout    xtlang
  • sys_file_putc    xtlang
  • sys_file_puts    xtlang
  • sys_file_read    xtlang
  • sys_file_remove    xtlang
  • sys_file_rename    xtlang
  • sys_file_seek    xtlang
  • sys_file_sync    xtlang
  • sys_file_ungetc    xtlang
  • sys_file_write    xtlang
  • sys_filepath_root    xtlang
  • sys_g_file_test    xtlang
  • t:closure-size?    scheme
  • with-input-from-file    scheme
  • with-input-output-from-to-files    scheme
  • with-output-to-file    scheme
  • world_data_size    xtlang