sys_filepath_root   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/libs/external/system.xtm

Implementation

(bind-func sys_filepath_root
  (lambda (filepath)
    (letz ((pool (apr_pool_create))
           (root:i8** (zalloc))
           (filename:i8** (zalloc))
           (res APR_SUCCESS)
           (path_list null))
      (pset! filename 0 (cstring filepath))
      (set! res (apr_filepath_root root filename 0 pool))
      (if (= res APR_SUCCESS)
          (set! path_list (list (Str (pref root 0))
                                (Str (pref filename 0)))))
      (apr_pool_destroy pool)
      path_list)))


Back to Index

Similar Entries

  • GUI_root    xtlang
  • GUI_set_root    xtlang
  • init-psys    xtlang
  • psystem-add-particle    xtlang
  • psystem-particle-check    xtlang
  • psystem-set-particle    xtlang
  • psystem-set-particle    xtlang
  • psystem_alphas    xtlang
  • psystem_blues    xtlang
  • psystem_create    xtlang
  • psystem_create    xtlang
  • psystem_destroy    xtlang
  • psystem_destroy    xtlang
  • psystem_draw    xtlang
  • psystem_draw    xtlang
  • psystem_greens    xtlang
  • psystem_reds    xtlang
  • psystem_size    xtlang
  • psystem_sizes    xtlang
  • psystem_states    xtlang
  • psystem_texid    xtlang
  • psystem_xs    xtlang
  • psystem_xvs    xtlang
  • psystem_ys    xtlang
  • psystem_yvs    xtlang
  • root    scheme
  • root    scheme
  • sys:compile-init-ll    scheme
  • sys:compile-init-ll-from-str    scheme
  • sys:compile-ll    scheme
  • sys:compile-ll-from-str    scheme
  • sys:file-path-components    scheme
  • sys:host-to-ip    scheme
  • sys:hostname    scheme
  • sys:interface-address    scheme
  • sys:livecoding-error-hook?    scheme
  • sys:load    scheme
  • sys:load-escape    scheme
  • sys:load-preload-check    scheme
  • sys:load-then-quit    scheme
  • sys:print-interface-addresses    scheme
  • sys:sleep    scheme
  • sys:wait    scheme
  • sys:with-noisy-compiler    macro
  • sys:with-quiet-compiler    macro
  • sys_cd    xtlang
  • sys_dir_make    xtlang
  • sys_dir_make_recursive    xtlang
  • sys_dir_remove    xtlang
  • sys_env_delete    xtlang
  • sys_env_get    xtlang
  • sys_env_set    xtlang
  • 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_g_chdir    xtlang
  • sys_g_file_test    xtlang
  • sys_g_get_current_dir    xtlang
  • sys_g_get_home_dir    xtlang
  • sys_g_get_host_name    xtlang
  • sys_g_get_user_name    xtlang
  • sys_g_mkdir    xtlang
  • sys_g_remove    xtlang
  • sys_g_rename    xtlang
  • sys_ls    xtlang
  • sys_pwd    xtlang
  • sys_temp_dir_get    xtlang