tmuxtmuxC source reference

Choose documentation 1

3.7c

tmux source version

Latest (3.7c) 3.7c 3.2a
English

function tmux

cmd_list_sessions_exec

Source
Qualified name
cmd_list_sessions_exec
Source
cmd-list-sessions.c
static enum cmd_retval cmd_list_sessions_exec(struct cmd *, struct cmdq_item *)
Parameters

tmux command list-sessions

Call neighborhood

source calls

Direct calls this declaration makes and receives, as recorded from the source.

Called by

None recorded. Reached through cmd_list_sessions_entry, which reference it as a function pointer (a reference, not a call).

Direct calls recorded in this source version (tmux e476c12). Callback references appear separately below. Documentation here is sparse: the model has no summary for cmd_list_sessions_exec.

Calls

source calls 12

Declarations cmd_list_sessions_exec calls directly.

Other function references

references 2

Functions cmd_list_sessions_exec takes as a pointer or callback. It does not call them.

Referenced by

references 1

Declarations that take cmd_list_sessions_exec as a pointer or callback: a reference, not a call.

Referenced declarations

type references 11

Types and data cmd_list_sessions_exec names in its declaration.

In libtmux

These methods send list-sessions.

Library methods that send tmux list-sessions, by scope
Language Methods
Python Server.is_alive Server.raise_if_dead Server.search_sessions Server.sessions Session.from_session_id Session.refresh Window.linked_sessions
Ruby Async::Server#list_sessions Async::Server#snapshot LibTmux::Server#list_sessions LibTmux::Server#snapshot
Lua Server:snapshot
PowerShell Get-TmuxSession
Julia snapshot
Erlang fetch/1 fetch/2 snapshot/1 snapshot/2
Elixir Capture.fetch/2 Server.snapshot!/2 Server.snapshot/2
TypeScript main
Rust Server.check_alive
Go Client.ResolveAttachment Server.CheckAlive Server.IsAlive Server.SearchSessions Server.Session Server.SessionByName Server.Snapshot Session.Refresh
Java Server.sessions
Clojure find-session! snapshot!
Kotlin Server.sessions
Scala cats.Server.sessions scaladsl.Server.sessions
C# Client.GetAttachedSessionAsync Server.CaptureSnapshotAsync Server.GetAttachedSessionsAsync Server.GetSessionsAsync Server.IsAliveAsync Server.SearchSessionsAsync Server.ThrowIfDeadAsync Window.GetLinkedSessionsAsync
C++ Server::check_alive Server::sessions
Swift Server.isRunning() Server.sessions() Server.sessions(where:)
OCaml capture capture
Perl Async::Server::clients Async::Server::listings kind is session Async::Server::new_session after accepted creation Async::Server::new_window after accepted creation Async::Server::query_panes Async::Server::snapshot Async::Server::split_pane after accepted creation LibTmux::Server::clients LibTmux::Server::listings kind is session LibTmux::Server::new_session after accepted creation LibTmux::Server::new_window after accepted creation LibTmux::Server::query_panes LibTmux::Server::snapshot LibTmux::Server::split_pane after accepted creation
Raku ClientRef.inspect Connection.query session/group query or full graph Connection.query-async session/group query or full graph Connection.query-panes relationship predicates require a full graph Connection.snapshot Connection.snapshot-async PaneRef.inspect Server.has-session Server.query session/group query or full graph Server.query-async session/group query or full graph Server.query-panes relationship predicates require a full graph Server.query-sessions Server.query-window-links relationship predicates require a full graph Server.query-windows relationship predicates require a full graph Server.snapshot Server.snapshot-async SessionRef.inspect WindowRef.inspect

No method in Haskell, Common Lisp, or F# sends this command itself.

Esc

Type to search.

Reference previewOpen reference