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    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_REVERB_SIZE    scheme    /digego/extempore/tree/v0.8.9/libs/core/instruments-scm.xtm
  • PARAM_REVERB_SIZE    scheme    /digego/extempore/tree/v0.8.9/examples/sharedsystem/audiosetup.xtm
  • QRcode_size    xtlang    /digego/extempore/tree/v0.8.9/libs/external/qr-code.xtm
  • VBO_size    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects.xtm
  • analogue_remove_file    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/analogue.xtm
  • audiofile_16bitPCM_to_sample_be    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_16bitPCM_to_sample_le    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_24bitPCM_to_sample_be    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_24bitPCM_to_sample_le    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_aiff_read_samples    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_copy_samples    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_float_to_sample_be    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_float_to_sample_le    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_read_samples    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • audiofile_wave_read_samples    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • biSize    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/win32.xtm
  • biSizeImage    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/win32.xtm
  • bindfunc_with_zone_size    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/aot-compilation.xtm
  • bindfunc_with_zone_size_and_docstring    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/aot-compilation.xtm
  • call-with-input-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • call-with-output-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • cerberus_remove_file    xtlang    /digego/extempore/tree/v0.8.9/libs/core/instruments/cerberus.xtm
  • file->string    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • file-exists?    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • file_word_count    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/word_count.xtm
  • filename-from-path    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • filename-strip-extension    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • fill_buffer_with_file    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/word_count.xtm
  • fits-file-print    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/fitslib.xtm
  • fits-file-print    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/fits.xtm
  • fits-open-file    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/fitslib.xtm
  • fits-open-file    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/fits.xtm
  • get-scale-stepsize    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern-language.xtm
  • get-var-em-size    scheme    /digego/extempore/tree/v0.8.9/libs/core/pattern.xtm
  • get_file_name    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/win32.xtm
  • glfw_set_compatibility_profile    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • glfw_set_core_profile    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glfw3.xtm
  • godot_array_size    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/libgodot.xtm
  • gui_window_size_callback    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gui.xtm
  • h3d_object_size    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/bullet.xtm
  • iffchunk_size    xtlang    /digego/extempore/tree/v0.8.9/libs/core/audiobuffer.xtm
  • impc:aot:compile-xtm-file    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:compiler:print-needs-zone-size-error    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ir:check-type-size-calculations    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:heap-alloc-with-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:heap-alloc-without-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:obj-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:stack-alloc-with-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:stack-alloc-without-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:zone-alloc-with-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:compiler:zone-alloc-without-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:get-tuple-type-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:get-type-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ir:objectsize-intrinsic    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmir.xtm
  • impc:ti:get-closure-zone-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:obj-size-check    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • impc:ti:set-closure-zone-size    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • ocv_resize    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • ocv_resize    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • ocv_resize    scheme    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • ocv_resize1    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • ocv_resize2    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • ocv_size    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/xtmcv.xtm
  • psystem_size    xtlang    /digego/extempore/tree/v0.8.9/libs/external/particles.xtm
  • psystem_sizes    xtlang    /digego/extempore/tree/v0.8.9/libs/external/particles.xtm
  • resize    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/horde3d_knight.xtm
  • resize    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/bullet.xtm
  • sampler-parse-filename    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • sampler-parse-midinote-filename    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • sampler-parse-spn-filename    scheme    /digego/extempore/tree/v0.8.9/libs/external/instruments_ext-scm.xtm
  • sf_channels_from_file    xtlang    /digego/extempore/tree/v0.8.9/libs/external/sndfile.xtm
  • sf_frames_from_file    xtlang    /digego/extempore/tree/v0.8.9/libs/external/sndfile.xtm
  • sf_print_audio_file_info    xtlang    /digego/extempore/tree/v0.8.9/libs/external/sndfile.xtm
  • sf_read_file_into_buffer    xtlang    /digego/extempore/tree/v0.8.9/libs/external/sndfile.xtm
  • sf_samples_from_file    xtlang    /digego/extempore/tree/v0.8.9/libs/external/sndfile.xtm
  • size    xtlang    /digego/extempore/tree/v0.8.9/libs/external/gl/gl-objects2.xtm
  • size    xtlang    /digego/extempore/tree/v0.8.9/libs/base/base.xtm
  • string_list_from_file    xtlang    /digego/extempore/tree/v0.8.9/examples/contrib/word_count.xtm
  • sys:file-path-components    scheme    /digego/extempore/tree/v0.8.9/runtime/scheme.xtm
  • sys_file_append    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_close    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_copy    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_datasync    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_datasync    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_eof    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_flush    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_getc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_gets    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_link    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_mktemp    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_open    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_open_stderr    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_open_stdin    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_open_stdout    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_putc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_puts    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_read    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_remove    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_rename    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_seek    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_sync    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_ungetc    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_file_write    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_filepath_root    xtlang    /digego/extempore/tree/v0.8.9/libs/external/system.xtm
  • sys_g_file_test    xtlang    /digego/extempore/tree/v0.8.9/libs/external/glib.xtm
  • t:closure-size?    scheme    /digego/extempore/tree/v0.8.9/runtime/llvmti.xtm
  • with-input-from-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • with-input-output-from-to-files    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • with-output-to-file    scheme    /digego/extempore/tree/v0.8.9/runtime/init.xtm
  • world_data_size    xtlang    /digego/extempore/tree/v0.8.9/libs/contrib/game-of-life.xtm