Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
N
nx-libs
  • Project
    • Project
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 1
    • Issues 1
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • dimbor
  • nx-libs
  • Repository

Switch branch/tag
  • nx-libs
  • nx-X11
  • programs
  • Xserver
  • include
  • Xprintf.h
Find file
BlameHistoryPermalink
  • Daniel Kurtz's avatar
    os/xprintf: add Xvscnprintf and Xscnprintf · a6e632aa
    Daniel Kurtz authored Dec 07, 2017
    Backported from X.org:
    
    commit 5c2e2a164d615ab06be28a663734e782614b5cc7
    Author: Daniel Kurtz <djkurtz@chromium.org>
    Date:   Wed Apr 18 09:51:51 2012 +0000
    
        os/xprintf: add Xvscnprintf and Xscnprintf
    
        Normal snprintf() usually returns the number of bytes that would have been
        written into a buffer had the buffer been long enough.
    
        The scnprintf() variants return the actual number of bytes written,
        excluding the trailing '\0'.
    Signed-off-by: 's avatarDaniel Kurtz <djkurtz@chromium.org>
    Reviewed-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
    Signed-off-by: 's avatarPeter Hutterer <peter.hutterer@who-t.net>
    Backported-to-NX-by: 's avatarMihai Moldovan <ionic@ionic.de>
    a6e632aa
Xprintf.h 3.09 KB
EditWeb IDE

Replace Xprintf.h

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.