code: def get_ld_header(p):
      # "nested-function, but placed at module level
      ld_header = None
      for line in p.stdout:
          if line.startswith(("/", "./", "../")):
              ld_header = line
          elif "INDEX" in line:
              return ld_header.rstrip("\n")
      return None
  
file_path: cpython/Lib/ctypes/_aix.py
imports: import re
  from os import environ, path
  from sys import executable
  from ctypes import c_void_p, sizeof
  from subprocess import Popen, PIPE, DEVNULL
  from sys import maxsize
label_desc: Use image node_id 2 for calling a global function with example usage: get_ld_header(p) and returns: None, ld_header